diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-17 22:56:33 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-19 13:18:49 +0100 |
commit | 49d5c35b6948f7dd9fcae4ccfcad33d6d873c21e (patch) | |
tree | 19f29aa7e568f3648ae2d261a7be11e7942d2810 /spec/features | |
parent | acfe25edc0083b5e51cf8021b862dc1419a4006e (diff) | |
download | gitlab-ce-49d5c35b6948f7dd9fcae4ccfcad33d6d873c21e.tar.gz |
Fix old usages of `ci_runner` factory
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/runners_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb index d97831aae14..e8886e7edf9 100644 --- a/spec/features/runners_spec.rb +++ b/spec/features/runners_spec.rb @@ -17,10 +17,10 @@ describe "Runners" do @project3 = FactoryGirl.create :empty_project @project3.team << [user, :developer] - @shared_runner = FactoryGirl.create :ci_shared_runner - @specific_runner = FactoryGirl.create :ci_specific_runner - @specific_runner2 = FactoryGirl.create :ci_specific_runner - @specific_runner3 = FactoryGirl.create :ci_specific_runner + @shared_runner = FactoryGirl.create :ci_runner, :shared + @specific_runner = FactoryGirl.create :ci_runner + @specific_runner2 = FactoryGirl.create :ci_runner + @specific_runner3 = FactoryGirl.create :ci_runner @project.runners << @specific_runner @project2.runners << @specific_runner2 @project3.runners << @specific_runner3 @@ -84,7 +84,7 @@ describe "Runners" do before do @project = FactoryGirl.create :empty_project @project.team << [user, :master] - @specific_runner = FactoryGirl.create :ci_specific_runner + @specific_runner = FactoryGirl.create :ci_runner @project.runners << @specific_runner end |