diff options
author | Michael Chmielewski <code@mikec.123mail.org> | 2015-10-27 23:24:43 -0400 |
---|---|---|
committer | Michael Chmielewski <code@mikec.123mail.org> | 2015-10-28 22:34:39 -0400 |
commit | 7b62791afc8e98f8ccd7d85dbae0cf2128883c13 (patch) | |
tree | 334726b8a702d4364ee5e5d1e429dd126b6bc4b6 /spec | |
parent | b1f4aaa5e753e6e7cdefd84226839123df59b382 (diff) | |
download | gitlab-ce-7b62791afc8e98f8ccd7d85dbae0cf2128883c13.tar.gz |
Fixed method to use git log via Popen as recommended, and made output match test (and thus system) expectations.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/repository_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index 26c92af31ed..17b5f28891b 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -27,7 +27,7 @@ describe Repository do end describe :find_commits_with_matching_log do - subject { repository.find_commits_with_matching_log('submodule').map{|k| k.id} } + subject { repository.find_commits_with_matching_log('submodule') } it { is_expected.to include('5937ac0a7beb003549fc5fd26fc247adbce4a52e') } it { is_expected.to include('6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') } |