summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-12-07 14:11:15 +0200
committerValery Sizov <vsv2711@gmail.com>2015-12-07 14:14:35 +0200
commit5df2c4419c5019b5003ddfa6adb59c84c3d9910c (patch)
tree12cdcec680fb9d97431ca14d9edd138aa7627f03 /spec
parent5c1b49f494f07bf37ba3c60f3b9f70d1842d8b60 (diff)
downloadgitlab-ce-5df2c4419c5019b5003ddfa6adb59c84c3d9910c.tar.gz
fox specs
Diffstat (limited to 'spec')
-rw-r--r--spec/models/commit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index b417bc98fa7..6728722b503 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -102,7 +102,7 @@ eos
end
describe '#hook_attrs' do
- let(:data) { commit.hook_attrs }
+ let(:data) { commit.hook_attrs(true) }
it { expect(data).to be_a(Hash) }
it { expect(data[:message]).to include('Add submodule from gitlab.com') }