summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-02-21 17:53:53 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-02-21 17:53:53 +0100
commit01dc16d5b5f24e3044a418950fa30e4e576f42f1 (patch)
tree7bdacc01abcbca4e666ad2d5c6b2d5fd58cef719 /spec/javascripts/fixtures
parenta54955c52b6fd702ac2ac0baf2632cd3efbfbc4f (diff)
downloadgitlab-ce-01dc16d5b5f24e3044a418950fa30e4e576f42f1.tar.gz
Make fixtures/commit.rb deterministic
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r--spec/javascripts/fixtures/commit.rb1
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|