diff options
author | Mike Chmielewski <code@mikec.123mail.org> | 2015-10-21 03:59:52 +0300 |
---|---|---|
committer | Michael Chmielewski <code@mikec.123mail.org> | 2015-10-29 05:34:39 +0300 |
commit | 091aa95dbfec0b062ed706fb55589ce10e5bd9d0 (patch) | |
tree | c2a72da5680897f0ea3730dac1ce4b1e8829c241 /spec | |
parent | 5a5069969ce8e9184e36abbb7623bf474d5869e9 (diff) |
Make subject of spec line up on one line to satisfy rubocop requirements
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/repository_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index ceffd5a8617..9d5859f1476 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -27,9 +27,7 @@ describe Repository do end describe :commits_with_log_matching do - subject { repository.commits_with_log_matching('submodule'). - map{|k| k.id} - } + subject { repository.commits_with_log_matching('submodule').map{|k| k.id} } it { is_expected.to include('5937ac0a7beb003549fc5fd26fc247adbce4a52e') } it { is_expected.to include('6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') } @@ -102,4 +100,4 @@ describe Repository do it { expect(subject.data.lines[2]).to eq(" - Feature: Replace teams with group membership\n") } end end -end +end
\ No newline at end of file |