diff options
author | Michael Chmielewski <code@mikec.123mail.org> | 2015-10-28 22:12:22 -0400 |
---|---|---|
committer | Michael Chmielewski <code@mikec.123mail.org> | 2015-10-28 22:34:39 -0400 |
commit | a0d0a0179134c16c84dfa18da9db78b375cd7cd0 (patch) | |
tree | eeb0bb860fb96ff16be753a50662e151e2d14c61 /spec | |
parent | 7b62791afc8e98f8ccd7d85dbae0cf2128883c13 (diff) | |
download | gitlab-ce-a0d0a0179134c16c84dfa18da9db78b375cd7cd0.tar.gz |
Actually converted code to following suggestions.
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 17b5f28891b..aedbfa04d88 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') } + subject { repository.find_commits_with_matching_log('submodule').map{ |k| k.id } } it { is_expected.to include('5937ac0a7beb003549fc5fd26fc247adbce4a52e') } it { is_expected.to include('6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') } |