Commit 01dc16d5 authored by Winnie Hellmann's avatar Winnie Hellmann

Make fixtures/commit.rb deterministic

parent a54955c5
...@@ -16,6 +16,7 @@ describe Projects::CommitController, '(JavaScript fixtures)', type: :controller ...@@ -16,6 +16,7 @@ describe Projects::CommitController, '(JavaScript fixtures)', type: :controller
before do before do
project.add_maintainer(user) project.add_maintainer(user)
sign_in(user) sign_in(user)
allow(SecureRandom).to receive(:hex).and_return('securerandomhex:thereisnospoon')
end end
it 'commit/show.html.raw' do |example| it 'commit/show.html.raw' do |example|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment