Skip to content

Commit

Permalink
Merge branch 'fix/blob-controller-spec' into 'master'
Browse files Browse the repository at this point in the history
Fix blob controller spec failure

See merge request !7814
  • Loading branch information
smcgivern committed Nov 29, 2016
2 parents 2e3b5e1 + 280afe0 commit 35e6c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/projects/blob_controller_spec.rb
Expand Up @@ -67,7 +67,7 @@ def blob_after_edit_path
put :update, mr_params

after_edit_path = diffs_namespace_project_merge_request_path(project.namespace, project, merge_request)
file_anchor = "#file-path-#{Digest::SHA1.hexdigest('CHANGELOG')}"
file_anchor = "##{Digest::SHA1.hexdigest('CHANGELOG')}"
expect(response).to redirect_to(after_edit_path + file_anchor)
end

Expand Down

0 comments on commit 35e6c2b

Please sign in to comment.