Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
db/fixtures/development/09_issues.rb
db/fixtures/development/09_issues.rb
+1
-1
db/fixtures/development/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