Make subject of spec line up on one line to satisfy rubocop requirements

This commit is contained in:
Mike Chmielewski 2015-10-21 00:59:52 +00:00 committed by Michael Chmielewski
parent 5a5069969c
commit 091aa95dbf

View file

@ -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