spec/integration_spec.rb in turnip-0.3.1 vs spec/integration_spec.rb in turnip-1.0.0
- old
+ new
@@ -9,8 +9,12 @@
@result.should include('A simple feature')
@result.should include('is a simple feature')
end
it "prints out failures and successes" do
- @result.should include('26 examples, 1 failure, 2 pending')
+ @result.should include('33 examples, 3 failures, 3 pending')
+ end
+
+ it "includes features in backtraces" do
+ @result.should include('examples/errors.feature:5:in `raise error')
end
end