Skip to content

Commit dd106f2

Browse files
committed
update to aruba 0.2.0
1 parent ff2b718 commit dd106f2

File tree

10 files changed

+29
-29
lines changed

10 files changed

+29
-29
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gem 'rspec', :path => "../rspec"
1010

1111
gem 'thor'
1212
gem 'cucumber'
13-
gem 'aruba'
13+
gem 'aruba', ">= 0.2.0"
1414
gem 'jeweler'
1515
gem 'webrat'
1616
gem 'sqlite3-ruby', :require => 'sqlite3'

features/controller_specs/isolation_from_views.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Feature: do not render views
2727
end
2828
"""
2929
When I run "rspec ./spec"
30-
Then I should see "2 examples, 0 failures"
30+
Then the output should contain "2 examples, 0 failures"
3131

3232
Scenario: expect template that is not rendered by controller (fails)
3333
Given a file named "spec/controllers/widgets_controller_spec.rb" with:
@@ -45,7 +45,7 @@ Feature: do not render views
4545
end
4646
"""
4747
When I run "rspec ./spec"
48-
Then I should see "1 example, 1 failure"
48+
Then the output should contain "1 example, 1 failure"
4949

5050
Scenario: set expectation about template content (fails with helpful message)
5151
Given a file named "spec/controllers/widgets_controller_spec.rb" with:
@@ -63,4 +63,4 @@ Feature: do not render views
6363
end
6464
"""
6565
When I run "rspec spec"
66-
Then I should see "Template source generated by RSpec"
66+
Then the output should contain "Template source generated by RSpec"

features/controller_specs/readers.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Feature: controller spec readers
1515
end
1616
"""
1717
When I run "rspec ./spec"
18-
Then I should see "1 example, 0 failures"
18+
Then the output should contain "1 example, 0 failures"

features/controller_specs/render_views.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Feature: render views
2525
end
2626
"""
2727
When I run "rspec spec"
28-
Then I should see "2 examples, 0 failures"
28+
Then the output should contain "2 examples, 0 failures"
2929

3030
Scenario: expect template that does not exist and is rendered by controller (fails)
3131
Given a file named "spec/controllers/widgets_controller_spec.rb" with:
@@ -49,8 +49,8 @@ Feature: render views
4949
end
5050
"""
5151
When I run "rspec spec"
52-
Then I should see "1 example, 1 failure"
53-
And I should see "Missing template"
52+
Then the output should contain "1 example, 1 failure"
53+
And the output should contain "Missing template"
5454

5555
Scenario: render_views on and off in diff contexts
5656
Given a file named "spec/controllers/widgets_controller_spec.rb" with:
@@ -100,4 +100,4 @@ Feature: render views
100100
end
101101
"""
102102
When I run "rspec spec"
103-
Then I should see "4 examples, 0 failures"
103+
Then the output should contain "4 examples, 0 failures"

features/mailer_specs/url_helpers.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Feature: URL helpers in mailer examples
1616
end
1717
"""
1818
When I run "rspec spec"
19-
Then I should see "1 example, 0 failures"
19+
Then the output should contain "1 example, 0 failures"
2020

2121
Scenario: using URL helpers without default options
2222
Given a file named "config/initializers/mailer_defaults.rb" with:
@@ -35,4 +35,4 @@ Feature: URL helpers in mailer examples
3535
end
3636
"""
3737
When I run "rspec spec"
38-
Then I should see "1 example, 0 failures"
38+
Then the output should contain "1 example, 0 failures"

features/matchers/be_routable_matcher.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Feature: be_routable matcher
1717
"""
1818

1919
When I run "rspec spec/routing/widgets_routing_spec.rb"
20-
Then I should see "1 example, 0 failures"
20+
Then the output should contain "1 example, 0 failures"
2121

2222
Scenario: specify routeable route should not be routable (fails)
2323
Given a file named "spec/routing/widgets_routing_spec.rb" with:
@@ -32,7 +32,7 @@ Feature: be_routable matcher
3232
"""
3333

3434
When I run "rspec spec/routing/widgets_routing_spec.rb"
35-
Then I should see "1 example, 1 failure"
35+
Then the output should contain "1 example, 1 failure"
3636

3737
Scenario: specify non-routeable route should not be routable (passes)
3838
Given a file named "spec/routing/widgets_routing_spec.rb" with:
@@ -47,7 +47,7 @@ Feature: be_routable matcher
4747
"""
4848

4949
When I run "rspec spec/routing/widgets_routing_spec.rb"
50-
Then I should see "1 example, 0 failures"
50+
Then the output should contain "1 example, 0 failures"
5151

5252
Scenario: specify non-routeable route should be routable (fails)
5353
Given a file named "spec/routing/widgets_routing_spec.rb" with:
@@ -62,7 +62,7 @@ Feature: be_routable matcher
6262
"""
6363

6464
When I run "rspec spec/routing/widgets_routing_spec.rb"
65-
Then I should see "1 example, 1 failure"
65+
Then the output should contain "1 example, 1 failure"
6666

6767
Scenario: be_routable in a controller spec
6868
Given a file named "spec/controllers/widgets_controller_spec.rb" with:
@@ -77,4 +77,4 @@ Feature: be_routable matcher
7777
"""
7878

7979
When I run "rspec spec/controllers/widgets_controller_spec.rb"
80-
Then I should see "1 example, 0 failures"
80+
Then the output should contain "1 example, 0 failures"

features/matchers/new_record_matcher.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Feature: be_a_new matcher
2222
end
2323
"""
2424
When I run "rspec spec/models/widget_spec.rb"
25-
Then I should see "4 examples, 0 failures"
25+
Then the output should contain "4 examples, 0 failures"

features/model_specs/errors_on.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Feature: errors_on
2929
end
3030
"""
3131
When I run "rspec spec/models/widget_spec.rb"
32-
Then I should see "4 examples, 0 failures"
32+
Then the output should contain "4 examples, 0 failures"

features/model_specs/transactional_examples.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Feature: transactional examples
2121
end
2222
"""
2323
When I run "rspec spec/models/widget_spec.rb"
24-
Then I should see "3 examples, 0 failures"
24+
Then the output should contain "3 examples, 0 failures"
2525

2626
Scenario: run in transactions (explicit)
2727
Given a file named "spec/models/widget_spec.rb" with:
@@ -48,7 +48,7 @@ Feature: transactional examples
4848
end
4949
"""
5050
When I run "rspec spec/models/widget_spec.rb"
51-
Then I should see "3 examples, 0 failures"
51+
Then the output should contain "3 examples, 0 failures"
5252

5353
Scenario: disable transactions (explicit)
5454
Given a file named "spec/models/widget_spec.rb" with:
@@ -77,7 +77,7 @@ Feature: transactional examples
7777
end
7878
"""
7979
When I run "rspec spec/models/widget_spec.rb"
80-
Then I should see "3 examples, 0 failures"
80+
Then the output should contain "3 examples, 0 failures"
8181

8282
Scenario: run in transactions with fixture
8383
Given a file named "spec/models/thing_spec.rb" with:
@@ -97,7 +97,7 @@ Feature: transactional examples
9797
name: MyString
9898
"""
9999
When I run "rspec spec/models/thing_spec.rb"
100-
Then I should see "1 example, 0 failures"
100+
Then the output should contain "1 example, 0 failures"
101101

102102

103103

features/view_specs/view_spec.feature

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)