Make fixtures/commit.rb deterministic

This commit is contained in:
Winnie Hellmann 2019-02-21 17:53:53 +01:00
parent a54955c52b
commit 01dc16d5b5

View file

@ -16,6 +16,7 @@ describe Projects::CommitController, '(JavaScript fixtures)', type: :controller
before do
project.add_maintainer(user)
sign_in(user)
allow(SecureRandom).to receive(:hex).and_return('securerandomhex:thereisnospoon')
end
it 'commit/show.html.raw' do |example|