diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 09:56:38 -0400 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 09:56:38 -0400 |
commit | 21041525af5a678053cc47e082dc7484a67dfdf5 (patch) | |
tree | c305e0896472a379b11a3222d0e0b6bcbf97b238 /spec | |
parent | 6b124d42d9861a5f8c3dd5add7cabc864fa3673c (diff) | |
download | gitlab-ce-21041525af5a678053cc47e082dc7484a67dfdf5.tar.gz |
Update according to review comments
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/runners_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb index 1fe7645250c..789b06d7c67 100644 --- a/spec/features/runners_spec.rb +++ b/spec/features/runners_spec.rb @@ -83,12 +83,11 @@ describe "Runners" do describe "shared runners description" do let(:shared_runners_text) { 'custom shared runners description' } - before { stub_application_setting(shared_runners_text: shared_runners_text) } - before do - @project = FactoryGirl.create :empty_project, shared_runners_enabled: false - @project.team << [user, :master] - visit runners_path(@project) + stub_application_setting(shared_runners_text: shared_runners_text) + project = FactoryGirl.create :empty_project, shared_runners_enabled: false + project.team << [user, :master] + visit runners_path(project) end it "sees shared runners description" do |