Skip to content

Commit

Permalink
fixup! Avoid line continuations without parentheses.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcharlton committed Mar 13, 2018
1 parent 8cab2a7 commit 485e460
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/acceptance/cli/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@

run 'appraisal install'

expect(content_of("gemfiles/1.0.0.gemfile.lock")).not_to include(
current_directory,
)
expect(content_of("gemfiles/1.0.0.gemfile.lock")).
not_to include(current_directory)
end

context 'with job size', :parallel => true do
Expand All @@ -54,21 +53,22 @@
output = run 'appraisal install --jobs=2'

expect(output).to include(
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=2",
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=2"
)
end

it 'ignores --jobs option if the job size is less than or equal to 1' do
output = run 'appraisal install --jobs=0'

expect(output).to include(
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}'",
expect(output).
to include(
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}'"
)
expect(output).not_to include(
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=0",
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=0"
)
expect(output).not_to include(
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=1",
"bundle install --gemfile='#{file('gemfiles/1.0.0.gemfile')}' --jobs=1"
)
end
end
Expand Down

0 comments on commit 485e460

Please sign in to comment.