diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 19:53:53 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 19:53:53 +0300 |
commit | 01dc16d5b5f24e3044a418950fa30e4e576f42f1 (patch) | |
tree | 7bdacc01abcbca4e666ad2d5c6b2d5fd58cef719 /spec | |
parent | a54955c52b6fd702ac2ac0baf2632cd3efbfbc4f (diff) |
Make fixtures/commit.rb deterministic
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/fixtures/commit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/commit.rb b/spec/javascripts/fixtures/commit.rb index f0e4bb50c67..295f13b34a4 100644 --- a/spec/javascripts/fixtures/commit.rb +++ b/spec/javascripts/fixtures/commit.rb @@ -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| |