rspec-rails 2.0.0.beta.19 → 2.0.0.beta.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/.gitignore +2 -1
  2. data/Gemfile +7 -0
  3. data/Gotchas.markdown +14 -0
  4. data/README.markdown +49 -9
  5. data/Rakefile +1 -2
  6. data/Upgrade.markdown +7 -0
  7. data/VERSION +1 -1
  8. data/features/controller_specs/anonymous_controller.feature +57 -19
  9. data/features/controller_specs/isolation_from_views.feature +2 -2
  10. data/features/controller_specs/readers.feature +1 -1
  11. data/features/controller_specs/render_views.feature +4 -4
  12. data/features/helper_specs/helper_spec.feature +53 -0
  13. data/features/mailer_specs/url_helpers.feature +2 -2
  14. data/features/matchers/new_record_matcher.feature +46 -1
  15. data/features/matchers/redirect_to_matcher.feature +41 -0
  16. data/features/matchers/render_template_matcher.feature +25 -0
  17. data/features/mocks/mock_model.feature +131 -0
  18. data/features/mocks/stub_model.feature +58 -0
  19. data/features/routing_specs/access_to_named_routes.feature +15 -0
  20. data/features/support/env.rb +1 -0
  21. data/features/view_specs/inferred_controller_path.feature +44 -0
  22. data/lib/generators/rspec/install/templates/spec/spec_helper.rb +4 -5
  23. data/lib/generators/rspec/scaffold/templates/routing_spec.rb +2 -2
  24. data/lib/rspec/rails.rb +1 -4
  25. data/lib/rspec/rails/adapters.rb +32 -6
  26. data/lib/rspec/rails/browser_simulators.rb +30 -0
  27. data/lib/rspec/rails/example.rb +2 -1
  28. data/lib/rspec/rails/example/controller_example_group.rb +36 -16
  29. data/lib/rspec/rails/example/helper_example_group.rb +8 -4
  30. data/lib/rspec/rails/example/mailer_example_group.rb +11 -2
  31. data/lib/rspec/rails/example/model_example_group.rb +1 -1
  32. data/lib/rspec/rails/example/rails_example_group.rb +11 -0
  33. data/lib/rspec/rails/example/request_example_group.rb +17 -6
  34. data/lib/rspec/rails/example/routing_example_group.rb +6 -1
  35. data/lib/rspec/rails/example/view_example_group.rb +18 -14
  36. data/lib/rspec/rails/matchers/be_a_new.rb +36 -1
  37. data/lib/rspec/rails/mocks.rb +9 -8
  38. data/lib/rspec/rails/tasks/rspec.rake +7 -0
  39. data/lib/rspec/rails/view_rendering.rb +8 -2
  40. data/rspec-rails.gemspec +21 -14
  41. data/spec/rspec/rails/assertion_adapter_spec.rb +28 -0
  42. data/spec/rspec/rails/example/helper_example_group_spec.rb +2 -0
  43. data/spec/rspec/rails/example/routing_example_group_spec.rb +17 -0
  44. data/spec/rspec/rails/example/view_rendering_spec.rb +56 -15
  45. data/spec/rspec/rails/matchers/be_a_new_spec.rb +98 -0
  46. data/spec/rspec/rails/matchers/errors_on_spec.rb +4 -4
  47. data/spec/rspec/rails/mocks/ar_classes.rb +17 -0
  48. data/spec/rspec/rails/mocks/stub_model_spec.rb +36 -15
  49. data/templates/Gemfile +2 -0
  50. metadata +23 -34
  51. data/lib/rspec/rails/monkey.rb +0 -1
  52. data/lib/rspec/rails/monkey/action_mailer/test_case.rb +0 -69
@@ -0,0 +1,28 @@
1
+ require "spec_helper"
2
+
3
+ describe RSpec::Rails::TestUnitAssertionAdapter do
4
+ include RSpec::Rails::TestUnitAssertionAdapter
5
+
6
+ Test::Unit::Assertions.public_instance_methods.select{|m| m.to_s =~ /^assert/}.each do |m|
7
+ if m.to_s == "assert_equal"
8
+ it "exposes #{m} to host examples" do
9
+ assert_equal 3,3
10
+ expect do
11
+ assert_equal 3,4
12
+ end.to raise_error(ActiveSupport::TestCase::Assertion)
13
+ end
14
+ else
15
+ it "exposes #{m} to host examples" do
16
+ methods.should include(m)
17
+ end
18
+ end
19
+ end
20
+
21
+ it "does not expose internal methods of MiniTest" do
22
+ methods.should_not include("_assertions")
23
+ end
24
+
25
+ it "does not expose MiniTest's message method" do
26
+ methods.should_not include("message")
27
+ end
28
+ end
@@ -24,7 +24,9 @@ module RSpec::Rails
24
24
  describe "#helper" do
25
25
  it "returns the instance of AV::Base provided by AV::TC::Behavior" do
26
26
  helper_spec = Object.new.extend HelperExampleGroup::InstanceMethods
27
+ helper_spec.should_receive(:_assigns)
27
28
  av_tc_b_view = double('_view')
29
+ av_tc_b_view.should_receive(:assign)
28
30
  helper_spec.stub(:_view) { av_tc_b_view }
29
31
  helper_spec.helper.should eq(av_tc_b_view)
30
32
  end
@@ -11,5 +11,22 @@ module RSpec::Rails
11
11
  end
12
12
  group.metadata[:type].should eq(:routing)
13
13
  end
14
+
15
+ describe "named routes" do
16
+ it "delegates them to the route_set" do
17
+ group = RSpec::Core::ExampleGroup.describe do
18
+ include RoutingExampleGroup
19
+ end
20
+
21
+ example = group.new
22
+
23
+ # Yes, this is quite invasive
24
+ url_helpers = double('url_helpers', :foo_path => "foo")
25
+ routes = double('routes', :url_helpers => url_helpers)
26
+ example.stub(:routes => routes)
27
+
28
+ example.foo_path.should == "foo"
29
+ end
30
+ end
14
31
  end
15
32
  end
@@ -5,9 +5,14 @@ module RSpec::Rails
5
5
  it "doesn't render views by default" do
6
6
  rendering_views = nil
7
7
  group = RSpec::Core::ExampleGroup.describe do
8
- include ControllerExampleGroup
9
- rendering_views = render_views?
10
- it("does something") {}
8
+ before(:each) do
9
+ @controller = double("controller")
10
+ @controller.stub_chain("class.respond_to?").and_return(true)
11
+ end
12
+ include ViewRendering
13
+ it("does something") do
14
+ rendering_views = render_views?
15
+ end
11
16
  end
12
17
  group.run(double.as_null_object)
13
18
  rendering_views.should be_false
@@ -16,23 +21,49 @@ module RSpec::Rails
16
21
  it "doesn't render views by default in a nested group" do
17
22
  rendering_views = nil
18
23
  group = RSpec::Core::ExampleGroup.describe do
19
- include ControllerExampleGroup
24
+ before(:each) do
25
+ @controller = double("controller")
26
+ @controller.stub_chain("class.respond_to?").and_return(true)
27
+ end
28
+ include ViewRendering
20
29
  describe "nested" do
21
- rendering_views = render_views?
22
- it("does something") {}
30
+ it("does something") do
31
+ rendering_views = render_views?
32
+ end
23
33
  end
24
34
  end
25
35
  group.run(double.as_null_object)
26
36
  rendering_views.should be_false
27
37
  end
28
38
 
39
+ it "renders views if controller does not respond to view_paths (ActionController::Metal)" do
40
+ rendering_views = false
41
+ group = RSpec::Core::ExampleGroup.describe do
42
+ before(:each) do
43
+ @controller = double("controller")
44
+ @controller.stub_chain("class.respond_to?").and_return(false)
45
+ end
46
+ include ViewRendering
47
+ it("does something") do
48
+ rendering_views = render_views?
49
+ end
50
+ end
51
+ group.run(double.as_null_object)
52
+ rendering_views.should be_true
53
+ end
54
+
29
55
  it "renders views if told to" do
30
56
  rendering_views = false
31
57
  group = RSpec::Core::ExampleGroup.describe do
32
- include ControllerExampleGroup
58
+ before(:each) do
59
+ @controller = double("controller")
60
+ @controller.stub_chain("class.respond_to?").and_return(true)
61
+ end
62
+ include ViewRendering
33
63
  render_views
34
- rendering_views = render_views?
35
- it("does something") {}
64
+ it("does something") do
65
+ rendering_views = render_views?
66
+ end
36
67
  end
37
68
  group.run(double.as_null_object)
38
69
  rendering_views.should be_true
@@ -41,11 +72,16 @@ module RSpec::Rails
41
72
  it "renders views if told to in a nested group" do
42
73
  rendering_views = nil
43
74
  group = RSpec::Core::ExampleGroup.describe do
44
- include ControllerExampleGroup
75
+ before(:each) do
76
+ @controller = double("controller")
77
+ @controller.stub_chain("class.respond_to?").and_return(true)
78
+ end
79
+ include ViewRendering
45
80
  describe "nested" do
46
81
  render_views
47
- rendering_views = render_views?
48
- it("does something") {}
82
+ it("does something") do
83
+ rendering_views = render_views?
84
+ end
49
85
  end
50
86
  end
51
87
  group.run(double.as_null_object)
@@ -55,11 +91,16 @@ module RSpec::Rails
55
91
  it "renders views in a nested group if told to in an outer group" do
56
92
  rendering_views = nil
57
93
  group = RSpec::Core::ExampleGroup.describe do
58
- include ControllerExampleGroup
94
+ before(:each) do
95
+ @controller = double("controller")
96
+ @controller.stub_chain("class.respond_to?").and_return(true)
97
+ end
98
+ include ViewRendering
59
99
  render_views
60
100
  describe "nested" do
61
- rendering_views = render_views?
62
- it("does something") {}
101
+ it("does something") do
102
+ rendering_views = render_views?
103
+ end
63
104
  end
64
105
  end
65
106
  group.run(double.as_null_object)
@@ -36,4 +36,102 @@ describe "be_a_new matcher" do
36
36
  end
37
37
  end
38
38
  end
39
+
40
+ describe "#with" do
41
+ context "right class and new record" do
42
+ let(:record) do
43
+ Class.new do
44
+ def initialize(attributes)
45
+ @attributes = attributes
46
+ end
47
+
48
+ def attributes
49
+ @attributes.stringify_keys
50
+ end
51
+
52
+ def new_record?; true; end
53
+ end.new(:foo => 'foo', :bar => 'bar')
54
+ end
55
+
56
+ context "all attributes same" do
57
+ it "passes" do
58
+ record.should be_a_new(record.class).with(:foo => 'foo', :bar => 'bar')
59
+ end
60
+ end
61
+
62
+ context "one attribute same" do
63
+ it "passes" do
64
+ record.should be_a_new(record.class).with(:foo => 'foo')
65
+ end
66
+ end
67
+
68
+ context "no attributes same" do
69
+ it "fails" do
70
+ expect {
71
+ record.should be_a_new(record.class).with(:zoo => 'zoo', :car => 'car')
72
+ }.to raise_error(
73
+ %Q(attributes {"zoo"=>"zoo", "car"=>"car"} were not set on #{record.inspect})
74
+ )
75
+ end
76
+ end
77
+
78
+ context "one attribute value not the same" do
79
+ it "fails" do
80
+ expect {
81
+ record.should be_a_new(record.class).with(:foo => 'bar')
82
+ }.to raise_error(
83
+ %Q(attribute {"foo"=>"bar"} was not set on #{record.inspect})
84
+ )
85
+ end
86
+ end
87
+ end
88
+
89
+ context "wrong class and existing record" do
90
+ let(:record) do
91
+ Class.new do
92
+ def initialize(attributes)
93
+ @attributes = attributes
94
+ end
95
+
96
+ def attributes
97
+ @attributes.stringify_keys
98
+ end
99
+
100
+ def new_record?; false; end
101
+ end.new(:foo => 'foo', :bar => 'bar')
102
+ end
103
+
104
+ context "all attributes same" do
105
+ it "fails" do
106
+ expect {
107
+ record.should be_a_new(String).with(:foo => 'foo', :bar => 'bar')
108
+ }.to raise_error(
109
+ "expected #{record.inspect} to be a new String"
110
+ )
111
+ end
112
+ end
113
+
114
+ context "no attributes same" do
115
+ it "fails" do
116
+ expect {
117
+ record.should be_a_new(String).with(:zoo => 'zoo', :car => 'car')
118
+ }.to raise_error(
119
+ "expected #{record.inspect} to be a new String and " +
120
+ %Q(attributes {"zoo"=>"zoo", "car"=>"car"} were not set on #{record.inspect})
121
+ )
122
+ end
123
+ end
124
+
125
+ context "one attribute value not the same" do
126
+ it "fails" do
127
+ expect {
128
+ record.should be_a_new(String).with(:foo => 'bar')
129
+ }.to raise_error(
130
+ "expected #{record.inspect} to be a new String and " +
131
+ %Q(attribute {"foo"=>"bar"} was not set on #{record.inspect})
132
+ )
133
+ end
134
+ end
135
+ end
136
+ end
39
137
  end
@@ -1,11 +1,11 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe "error_on" do
4
- it "should provide a description including the name of what the error is on" do
4
+ it "provides a description including the name of what the error is on" do
5
5
  have(1).error_on(:whatever).description.should == "have 1 error on :whatever"
6
6
  end
7
7
 
8
- it "should provide a failure message including the number actually given" do
8
+ it "provides a failure message including the number actually given" do
9
9
  lambda {
10
10
  [].should have(1).error_on(:whatever)
11
11
  }.should raise_error("expected 1 error on :whatever, got 0")
@@ -13,11 +13,11 @@ describe "error_on" do
13
13
  end
14
14
 
15
15
  describe "errors_on" do
16
- it "should provide a description including the name of what the error is on" do
16
+ it "provides a description including the name of what the error is on" do
17
17
  have(2).errors_on(:whatever).description.should == "have 2 errors on :whatever"
18
18
  end
19
19
 
20
- it "should provide a failure message including the number actually given" do
20
+ it "provides a failure message including the number actually given" do
21
21
  lambda {
22
22
  [1].should have(3).errors_on(:whatever)
23
23
  }.should raise_error("expected 3 errors on :whatever, got 1")
@@ -24,3 +24,20 @@ class AssociatedModel < ActiveRecord::Base
24
24
  include NoConnections
25
25
  belongs_to :mockable_model
26
26
  end
27
+
28
+ class AlternatePrimaryKeyModel < ActiveRecord::Base
29
+ include NoConnections
30
+ self.primary_key = :my_id
31
+ attr_accessor :my_id
32
+ end
33
+
34
+ class ConnectableModel < ActiveRecord::Base
35
+ establish_connection :adapter => 'sqlite3',
36
+ :database => ':memory:'
37
+
38
+ connection.execute <<-eosql
39
+ CREATE TABLE connectable_models (
40
+ id integer PRIMARY KEY AUTOINCREMENT
41
+ )
42
+ eosql
43
+ end
@@ -3,49 +3,70 @@ require File.dirname(__FILE__) + '/ar_classes'
3
3
 
4
4
  describe "stub_model" do
5
5
  describe "defaults" do
6
- it "should have an id" do
6
+ it "has an id" do
7
7
  stub_model(MockableModel).id.should be > 0
8
8
  end
9
9
 
10
- it "should say it is not a new record" do
10
+ it "says it is not a new record" do
11
11
  stub_model(MockableModel).should_not be_new_record
12
12
  end
13
13
  end
14
14
 
15
- it "should accept a stub id" do
15
+ it "accepts a stub id" do
16
16
  stub_model(MockableModel, :id => 37).id.should == 37
17
17
  end
18
18
 
19
- it "should say it is a new record when id is set to nil" do
19
+ it "says it is a new record when id is set to nil" do
20
20
  stub_model(MockableModel, :id => nil).should be_new_record
21
21
  end
22
22
 
23
- it "should accept any arbitrary stub" do
23
+ it "accepts any arbitrary stub" do
24
24
  stub_model(MockableModel, :foo => "bar").foo.should == "bar"
25
25
  end
26
26
 
27
- it "should accept a stub for save" do
27
+ it "accepts a stub for save" do
28
28
  stub_model(MockableModel, :save => false).save.should be(false)
29
29
  end
30
+
31
+ describe "alternate primary key" do
32
+ it "has the correct primary_key name" do
33
+ stub_model(AlternatePrimaryKeyModel).class.primary_key.should eql('my_id')
34
+ end
35
+
36
+ it "has a primary_key" do
37
+ stub_model(AlternatePrimaryKeyModel).my_id.should be > 0
38
+ end
39
+
40
+ it "does not say it is a new record" do
41
+ stub_model(AlternatePrimaryKeyModel).should_not be_new_record
42
+ end
43
+
44
+ it "says it is a new record if primary_key is nil" do
45
+ stub_model(AlternatePrimaryKeyModel, :my_id => nil).should be_new_record
46
+ end
47
+
48
+ it "accepts a stub for the primary_key" do
49
+ stub_model(AlternatePrimaryKeyModel, :my_id => 5).my_id.should == 5
50
+ end
51
+ end
30
52
 
31
53
  describe "#as_new_record" do
32
- it "should say it is a new record" do
54
+ it "says it is a new record" do
33
55
  stub_model(MockableModel).as_new_record.should be_new_record
34
56
  end
35
57
 
36
- it "should have a nil id" do
58
+ it "has a nil id" do
37
59
  stub_model(MockableModel).as_new_record.id.should be(nil)
38
60
  end
39
61
  end
40
62
 
41
- pending "should raise when hitting the db" do
63
+ it "raises when hitting the db" do
42
64
  lambda do
43
- model = stub_model(MockableModel, :changed => true, :attributes_with_quotes => {'this' => 'that'})
44
- model.save
65
+ stub_model(ConnectableModel).connection
45
66
  end.should raise_error(RSpec::Rails::IllegalDataAccessException, /stubbed models are not allowed to access the database/)
46
67
  end
47
68
 
48
- it "should increment the id" do
69
+ it "increments the id" do
49
70
  first = stub_model(MockableModel)
50
71
  second = stub_model(MockableModel)
51
72
  second.id.should == (first.id + 1)
@@ -58,17 +79,17 @@ describe "stub_model" do
58
79
  @real.mockable_model = @stub_model
59
80
  end
60
81
 
61
- it "should pass associated_model == mock" do
82
+ it "passes associated_model == mock" do
62
83
  @stub_model.should == @real.mockable_model
63
84
  end
64
85
 
65
- it "should pass mock == associated_model" do
86
+ it "passes mock == associated_model" do
66
87
  @real.mockable_model.should == @stub_model
67
88
  end
68
89
  end
69
90
 
70
91
  describe "with a block" do
71
- it "should yield the model" do
92
+ it "yields the model" do
72
93
  model = stub_model(MockableModel) do |block_arg|
73
94
  @block_arg = block_arg
74
95
  end
@@ -11,4 +11,6 @@ group :development, :test do
11
11
  gem "rspec-core", :path => "../../../rspec-core"
12
12
  gem "rspec-expectations", :path => "../../../rspec-expectations"
13
13
  gem "rspec-mocks", :path => "../../../rspec-mocks"
14
+ gem "rcov"
15
+ gem "webrat"
14
16
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196421
5
4
  prerelease: true
6
5
  segments:
7
6
  - 2
8
7
  - 0
9
8
  - 0
10
9
  - beta
11
- - 19
12
- version: 2.0.0.beta.19
10
+ - 20
11
+ version: 2.0.0.beta.20
13
12
  platform: ruby
14
13
  authors:
15
14
  - David Chelimsky
@@ -18,45 +17,26 @@ autorequire:
18
17
  bindir: bin
19
18
  cert_chain: []
20
19
 
21
- date: 2010-07-25 00:00:00 -05:00
20
+ date: 2010-08-24 00:00:00 -05:00
22
21
  default_executable:
23
22
  dependencies:
24
23
  - !ruby/object:Gem::Dependency
25
- type: :runtime
26
- prerelease: false
27
24
  name: rspec
28
- version_requirements: &id001 !ruby/object:Gem::Requirement
25
+ requirement: &id001 !ruby/object:Gem::Requirement
29
26
  none: false
30
27
  requirements:
31
28
  - - "="
32
29
  - !ruby/object:Gem::Version
33
- hash: 62196421
34
30
  segments:
35
31
  - 2
36
32
  - 0
37
33
  - 0
38
34
  - beta
39
- - 19
40
- version: 2.0.0.beta.19
41
- requirement: *id001
42
- - !ruby/object:Gem::Dependency
35
+ - 20
36
+ version: 2.0.0.beta.20
43
37
  type: :runtime
44
38
  prerelease: false
45
- name: webrat
46
- version_requirements: &id002 !ruby/object:Gem::Requirement
47
- none: false
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- hash: 62196417
52
- segments:
53
- - 0
54
- - 7
55
- - 2
56
- - beta
57
- - 1
58
- version: 0.7.2.beta.1
59
- requirement: *id002
39
+ version_requirements: *id001
60
40
  description: RSpec-2 for Rails-3
61
41
  email: dchelimsky@gmail.com;chad.humphries@gmail.com
62
42
  executables: []
@@ -69,6 +49,7 @@ files:
69
49
  - .document
70
50
  - .gitignore
71
51
  - Gemfile
52
+ - Gotchas.markdown
72
53
  - README.markdown
73
54
  - Rakefile
74
55
  - Upgrade.markdown
@@ -80,13 +61,20 @@ files:
80
61
  - features/controller_specs/isolation_from_views.feature
81
62
  - features/controller_specs/readers.feature
82
63
  - features/controller_specs/render_views.feature
64
+ - features/helper_specs/helper_spec.feature
83
65
  - features/mailer_specs/url_helpers.feature
84
66
  - features/matchers/be_routable_matcher.feature
85
67
  - features/matchers/new_record_matcher.feature
68
+ - features/matchers/redirect_to_matcher.feature
69
+ - features/matchers/render_template_matcher.feature
70
+ - features/mocks/mock_model.feature
71
+ - features/mocks/stub_model.feature
86
72
  - features/model_specs/errors_on.feature
87
73
  - features/model_specs/transactional_examples.feature
74
+ - features/routing_specs/access_to_named_routes.feature
88
75
  - features/step_definitions/model_steps.rb
89
76
  - features/support/env.rb
77
+ - features/view_specs/inferred_controller_path.feature
90
78
  - features/view_specs/view_spec.feature
91
79
  - lib/autotest/rails_rspec2.rb
92
80
  - lib/generators/rspec.rb
@@ -121,11 +109,13 @@ files:
121
109
  - lib/rspec-rails.rb
122
110
  - lib/rspec/rails.rb
123
111
  - lib/rspec/rails/adapters.rb
112
+ - lib/rspec/rails/browser_simulators.rb
124
113
  - lib/rspec/rails/example.rb
125
114
  - lib/rspec/rails/example/controller_example_group.rb
126
115
  - lib/rspec/rails/example/helper_example_group.rb
127
116
  - lib/rspec/rails/example/mailer_example_group.rb
128
117
  - lib/rspec/rails/example/model_example_group.rb
118
+ - lib/rspec/rails/example/rails_example_group.rb
129
119
  - lib/rspec/rails/example/request_example_group.rb
130
120
  - lib/rspec/rails/example/routing_example_group.rb
131
121
  - lib/rspec/rails/example/view_example_group.rb
@@ -140,13 +130,12 @@ files:
140
130
  - lib/rspec/rails/matchers/routing_matchers.rb
141
131
  - lib/rspec/rails/mocks.rb
142
132
  - lib/rspec/rails/module_inclusion.rb
143
- - lib/rspec/rails/monkey.rb
144
- - lib/rspec/rails/monkey/action_mailer/test_case.rb
145
133
  - lib/rspec/rails/tasks/rspec.rake
146
134
  - lib/rspec/rails/version.rb
147
135
  - lib/rspec/rails/view_assigns.rb
148
136
  - lib/rspec/rails/view_rendering.rb
149
137
  - rspec-rails.gemspec
138
+ - spec/rspec/rails/assertion_adapter_spec.rb
150
139
  - spec/rspec/rails/example/controller_example_group_spec.rb
151
140
  - spec/rspec/rails/example/helper_example_group_spec.rb
152
141
  - spec/rspec/rails/example/mailer_example_group_spec.rb
@@ -176,7 +165,7 @@ licenses: []
176
165
  post_install_message: |
177
166
  **************************************************
178
167
 
179
- Thank you for installing rspec-rails-2.0.0.beta.19!
168
+ Thank you for installing rspec-rails-2.0.0.beta.20!
180
169
 
181
170
  This version of rspec-rails only works with versions of rails >= 3.0.0.beta.4.
182
171
 
@@ -186,7 +175,7 @@ post_install_message: |
186
175
  can access its generators and rake tasks.
187
176
 
188
177
  group :development, :test do
189
- gem "rspec-rails", ">= 2.0.0.beta.19"
178
+ gem "rspec-rails", ">= 2.0.0.beta.20"
190
179
  end
191
180
 
192
181
  Be sure to run the following command in each of your Rails apps if you're
@@ -217,7 +206,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
206
  requirements:
218
207
  - - ">="
219
208
  - !ruby/object:Gem::Version
220
- hash: 3
209
+ hash: 4009655746568462970
221
210
  segments:
222
211
  - 0
223
212
  version: "0"
@@ -226,7 +215,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
215
  requirements:
227
216
  - - ">"
228
217
  - !ruby/object:Gem::Version
229
- hash: 25
230
218
  segments:
231
219
  - 1
232
220
  - 3
@@ -238,8 +226,9 @@ rubyforge_project: rspec
238
226
  rubygems_version: 1.3.7
239
227
  signing_key:
240
228
  specification_version: 3
241
- summary: rspec-rails-2.0.0.beta.19
229
+ summary: rspec-rails-2.0.0.beta.20
242
230
  test_files:
231
+ - spec/rspec/rails/assertion_adapter_spec.rb
243
232
  - spec/rspec/rails/example/controller_example_group_spec.rb
244
233
  - spec/rspec/rails/example/helper_example_group_spec.rb
245
234
  - spec/rspec/rails/example/mailer_example_group_spec.rb