diff options
Diffstat (limited to 'spec/models/compare_spec.rb')
-rw-r--r-- | spec/models/compare_spec.rb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/spec/models/compare_spec.rb b/spec/models/compare_spec.rb index 0035fb8468a..dc8429fe77e 100644 --- a/spec/models/compare_spec.rb +++ b/spec/models/compare_spec.rb @@ -127,13 +127,14 @@ RSpec.describe Compare do end it 'returns affected file paths, without duplication' do - expect(subject.modified_paths).to contain_exactly(*%w{ - foo/for_move.txt - foo/bar/for_move.txt - foo/for_create.txt - foo/for_delete.txt - foo/for_edit.txt - }) + expect(subject.modified_paths).to contain_exactly( + *%w{ + foo/for_move.txt + foo/bar/for_move.txt + foo/for_create.txt + foo/for_delete.txt + foo/for_edit.txt + }) end end |