summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/controllers/projects/builds_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/projects/builds_controller_spec.rb b/spec/controllers/projects/builds_controller_spec.rb
index 22193eac672..3bf03c88ff5 100644
--- a/spec/controllers/projects/builds_controller_spec.rb
+++ b/spec/controllers/projects/builds_controller_spec.rb
@@ -260,6 +260,8 @@ describe Projects::BuildsController do
end
describe 'POST play' do
+ let(:project) { create(:project, :public) }
+
before do
project.add_developer(user)
sign_in(user)