@@ -22,7 +22,7 @@ Feature: view spec
2222 end
2323 """
2424 When I run "rspec spec/views"
25- Then I should see "1 example, 0 failures"
25+ Then the output should contain "1 example, 0 failures"
2626
2727 Scenario : passing spec with before and nesting
2828 Given a file named "spec/views/widgets/index.html.erb_spec.rb" with:
@@ -49,7 +49,7 @@ Feature: view spec
4949 end
5050 """
5151 When I run "rspec spec/views"
52- Then I should see "1 example, 0 failures"
52+ Then the output should contain "1 example, 0 failures"
5353
5454 Scenario : passing spec with explicit template rendering
5555 Given a file named "spec/views/widgets/widget.html.erb_spec.rb" with:
@@ -71,7 +71,7 @@ Feature: view spec
7171 <h2><%= @widget.name %></h2>
7272 """
7373 When I run "rspec spec/views"
74- Then I should see "1 example, 0 failures"
74+ Then the output should contain "1 example, 0 failures"
7575
7676 Scenario : passing spec with rendering of locals in a partial
7777 Given a file named "spec/views/widgets/_widget.html.erb_spec.rb" with:
@@ -93,7 +93,7 @@ Feature: view spec
9393 <h3><%= widget.name %></h3>
9494 """
9595 When I run "rspec spec/views"
96- Then I should see "1 example, 0 failures"
96+ Then the output should contain "1 example, 0 failures"
9797
9898 Scenario : passing spec with rendering of locals in an implicit partial
9999 Given a file named "spec/views/widgets/_widget.html.erb_spec.rb" with:
@@ -115,7 +115,7 @@ Feature: view spec
115115 <h3><%= widget.name %></h3>
116116 """
117117 When I run "rspec spec/views"
118- Then I should see "1 example, 0 failures"
118+ Then the output should contain "1 example, 0 failures"
119119
120120 Scenario : passing spec with rendering of text
121121 Given a file named "spec/views/widgets/direct.html.erb_spec.rb" with:
@@ -132,7 +132,7 @@ Feature: view spec
132132 end
133133 """
134134 When I run "rspec spec/views"
135- Then I should see "1 example, 0 failures"
135+ Then the output should contain "1 example, 0 failures"
136136
137137 Scenario : passing spec with rendering of Prototype helper update
138138 Given a file named "spec/views/widgets/prototype_update.html.erb_spec.rb" with:
@@ -151,4 +151,4 @@ Feature: view spec
151151 end
152152 """
153153 When I run "rspec spec/views"
154- Then I should see "1 example, 0 failures"
154+ Then the output should contain "1 example, 0 failures"
0 commit comments