Refactor to canonical CLI construction

This commit is contained in:
Markus Schirp 2018-11-19 12:04:02 +00:00
parent 8b6fd0f0b0
commit 91c52f323f

View file

@ -21,9 +21,10 @@ RSpec.shared_examples_for 'framework integration' do
specify 'it allows to exclude mutations' do
cli = <<-CMD.split("\n").join(' ')
#{base_cmd}
--ignore-subject TestApp::Literal#uncovered_string
--
TestApp::Literal#string
TestApp::Literal#uncovered_string
--ignore-subject TestApp::Literal#uncovered_string
CMD
expect(system_with_gemfile(cli)).to be(true)
end