BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a5d6bbe0
Commit
a5d6bbe0
authored
Jun 24, 2013
by
Jack Weeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cattr_accessor removed from IssueObserver and MergeRequestObserver but not updated in fixtures
parent
ac6c9128
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
09_issues.rb
db/fixtures/development/09_issues.rb
+1
-1
10_merge_requests.rb
db/fixtures/development/10_merge_requests.rb
+2
-1
No files found.
db/fixtures/development/09_issues.rb
View file @
a5d6bbe0
...
...
@@ -11,7 +11,7 @@ Gitlab::Seeder.quiet do
next
unless
user
user_id
=
user
.
id
IssueObserver
.
current_user
=
user
Thread
.
current
[
:current_user
]
=
user
Issue
.
seed
(
:id
,
[{
id:
i
,
...
...
db/fixtures/development/10_merge_requests.rb
View file @
a5d6bbe0
...
...
@@ -17,7 +17,8 @@ Gitlab::Seeder.quiet do
next
if
branches
.
uniq
.
size
<
2
user_id
=
user
.
id
MergeRequestObserver
.
current_user
=
user
Thread
.
current
[
:current_user
]
=
user
MergeRequest
.
seed
(
:id
,
[{
id:
i
,
source_branch:
branches
.
first
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment