summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/branches.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/fixtures/branches.rb')
-rw-r--r--spec/javascripts/fixtures/branches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/fixtures/branches.rb b/spec/javascripts/fixtures/branches.rb
index 0e7c2351b66..a059818145b 100644
--- a/spec/javascripts/fixtures/branches.rb
+++ b/spec/javascripts/fixtures/branches.rb
@@ -20,7 +20,7 @@ describe Projects::BranchesController, '(JavaScript fixtures)', type: :controlle
it 'branches/new_branch.html.raw' do |example|
get :new,
namespace_id: project.namespace.to_param,
- project_id: project.to_param
+ project_id: project
expect(response).to be_success
store_frontend_fixture(response, example.description)