diff options
author | George Andrinopoulos <geoandri@gmail.com> | 2017-02-28 15:59:52 +0200 |
---|---|---|
committer | George Andrinopoulos <geoandri@gmail.com> | 2017-02-28 15:59:52 +0200 |
commit | 54c1dc675f4eba7083373149222cd6b7b9292d1b (patch) | |
tree | 86cc0d55f6a865bc0a30e95548eb324559397cbc | |
parent | 85c87be361e804977e7924ea9e464d0752cd2f24 (diff) | |
download | gitlab-ce-54c1dc675f4eba7083373149222cd6b7b9292d1b.tar.gz |
Remove on_commit trait from todos factory
-rw-r--r-- | spec/factories/todos.rb | 5 |
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 |