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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
54c1dc67
Commit
54c1dc67
authored
Feb 28, 2017
by
George Andrinopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove on_commit trait from todos factory
parent
85c87be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
spec/factories/todos.rb
spec/factories/todos.rb
+0
-5
No files found.
spec/factories/todos.rb
View file @
54c1dc67
...
@@ -18,11 +18,6 @@ FactoryGirl.define do
...
@@ -18,11 +18,6 @@ FactoryGirl.define do
action
{
Todo
::
DIRECTLY_ADDRESSED
}
action
{
Todo
::
DIRECTLY_ADDRESSED
}
end
end
trait
:on_commit
do
commit_id
RepoHelpers
.
sample_commit
.
id
target_type
"Commit"
end
trait
:build_failed
do
trait
:build_failed
do
action
{
Todo
::
BUILD_FAILED
}
action
{
Todo
::
BUILD_FAILED
}
target
factory: :merge_request
target
factory: :merge_request
...
...
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