spec/integration_spec.rb in turnip-1.2.1 vs spec/integration_spec.rb in turnip-1.2.2
- old
+ new
@@ -1,19 +1,19 @@
require 'spec_helper'
describe 'The CLI', :type => :integration do
before do
- @result = %x(rspec -fs examples/*.feature)
+ @result = %x(rspec -fd examples/*.feature)
end
it "shows the correct description" do
@result.should include('A simple feature')
@result.should include('is a simple feature')
end
it "prints out failures and successes" do
- @result.should include('35 examples, 3 failures, 5 pending')
+ @result.should include('38 examples, 3 failures, 5 pending')
end
it "includes features in backtraces" do
@result.should include('examples/errors.feature:5:in `raise error')
end
@@ -28,10 +28,10 @@
end
it 'conforms to line-number option' do
@result.should include('rspec ./examples/errors.feature:4')
@result.should include('rspec ./examples/errors.feature:6')
- result_with_line_number = %x(rspec -fs ./examples/errors.feature:4)
+ result_with_line_number = %x(rspec -fd ./examples/errors.feature:4)
result_with_line_number.should include('rspec ./examples/errors.feature:4')
result_with_line_number.should_not include('rspec ./examples/errors.feature:6')
end
end