@@ -37,7 +37,7 @@ Feature: mock_model
3737 end
3838 """
3939 When I run "rspec spec/models/car_spec.rb"
40- Then the output should contain "3 examples, 0 failures"
40+ Then the examples should all pass
4141
4242 Scenario : passing a string that represents an existing constant
4343 Given a file named "spec/models/widget_spec.rb" with:
@@ -52,7 +52,7 @@ Feature: mock_model
5252 end
5353 """
5454 When I run "rspec spec/models/widget_spec.rb"
55- Then the output should contain "1 example, 0 failures"
55+ Then the examples should all pass
5656
5757 Scenario : passing a class that does not extend ActiveModel::Naming
5858 Given a file named "spec/models/string_spec.rb" with:
@@ -66,7 +66,7 @@ Feature: mock_model
6666 end
6767 """
6868 When I run "rspec spec/models/string_spec.rb"
69- Then the output should contain "1 example, 0 failures"
69+ Then the examples should all pass
7070
7171 Scenario : passing an Active Record constant
7272 Given a file named "spec/models/widget_spec.rb" with:
@@ -95,7 +95,7 @@ Feature: mock_model
9595 end
9696 """
9797 When I run "rspec spec/models/widget_spec.rb"
98- Then the output should contain "4 examples, 0 failures"
98+ Then the examples should all pass
9999
100100 Scenario : passing an Active Record constant with method stubs
101101 Given a file named "spec/models/widget_spec.rb" with:
@@ -128,4 +128,4 @@ Feature: mock_model
128128 end
129129 """
130130 When I run "rspec spec/models/widget_spec.rb"
131- Then the output should contain "3 examples, 0 failures"
131+ Then the examples should all pass
0 commit comments