summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Andrinopoulos <geoandri@gmail.com>2017-02-28 15:59:52 +0200
committerGeorge Andrinopoulos <geoandri@gmail.com>2017-02-28 15:59:52 +0200
commit54c1dc675f4eba7083373149222cd6b7b9292d1b (patch)
tree86cc0d55f6a865bc0a30e95548eb324559397cbc
parent85c87be361e804977e7924ea9e464d0752cd2f24 (diff)
downloadgitlab-ce-54c1dc675f4eba7083373149222cd6b7b9292d1b.tar.gz
Remove on_commit trait from todos factory
-rw-r--r--spec/factories/todos.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb
index a2cedda0eec..299d09d2181 100644
--- a/spec/factories/todos.rb
+++ b/spec/factories/todos.rb
@@ -18,11 +18,6 @@ FactoryGirl.define do
action { Todo::DIRECTLY_ADDRESSED }
end
- trait :on_commit do
- commit_id RepoHelpers.sample_commit.id
- target_type "Commit"
- end
-
trait :build_failed do
action { Todo::BUILD_FAILED }
target factory: :merge_request