rspec-rails 2.14.0.rc1 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog.md +12 -0
  3. data/README.md +2 -2
  4. data/features/Autotest.md +24 -0
  5. data/features/Generators.md +24 -0
  6. data/features/GettingStarted.md +84 -0
  7. data/features/README.md +56 -0
  8. data/features/RailsVersions.md +4 -0
  9. data/features/Transactions.md +84 -0
  10. data/features/Upgrade.md +121 -0
  11. data/features/controller_specs/Cookies.md +57 -0
  12. data/features/controller_specs/README.md +45 -0
  13. data/features/controller_specs/anonymous_controller.feature +378 -0
  14. data/features/controller_specs/bypass_rescue.feature +75 -0
  15. data/features/controller_specs/controller_spec.feature +58 -0
  16. data/features/controller_specs/engine_routes.feature +51 -0
  17. data/features/controller_specs/isolation_from_views.feature +87 -0
  18. data/features/controller_specs/render_views.feature +114 -0
  19. data/features/feature_specs/feature_spec.feature +34 -0
  20. data/features/helper_specs/helper_spec.feature +122 -0
  21. data/features/mailer_specs/url_helpers.feature +38 -0
  22. data/features/matchers/README.md +18 -0
  23. data/features/matchers/new_record_matcher.feature +41 -0
  24. data/features/matchers/redirect_to_matcher.feature +40 -0
  25. data/features/matchers/relation_match_array.feature +22 -0
  26. data/features/matchers/render_template_matcher.feature +49 -0
  27. data/features/mocks/mock_model.feature +147 -0
  28. data/features/mocks/stub_model.feature +58 -0
  29. data/features/model_specs/README.md +21 -0
  30. data/features/model_specs/errors_on.feature +51 -0
  31. data/features/model_specs/records.feature +27 -0
  32. data/features/model_specs/transactional_examples.feature +109 -0
  33. data/features/request_specs/request_spec.feature +49 -0
  34. data/features/routing_specs/README.md +16 -0
  35. data/features/routing_specs/be_routable_matcher.feature +80 -0
  36. data/features/routing_specs/engine_routes.feature +38 -0
  37. data/features/routing_specs/named_routes.feature +18 -0
  38. data/features/routing_specs/route_to_matcher.feature +90 -0
  39. data/features/step_definitions/additional_cli_steps.rb +4 -0
  40. data/features/step_definitions/model_steps.rb +3 -0
  41. data/features/support/env.rb +53 -0
  42. data/features/support/rails_versions.rb +4 -0
  43. data/features/view_specs/inferred_controller_path.feature +45 -0
  44. data/features/view_specs/stub_template.feature +51 -0
  45. data/features/view_specs/view_spec.feature +206 -0
  46. data/lib/rspec/rails/example/controller_example_group.rb +2 -4
  47. data/lib/rspec/rails/extensions/active_record/base.rb +8 -2
  48. data/lib/rspec/rails/mocks.rb +15 -10
  49. data/lib/rspec/rails/tasks/rspec.rake +7 -7
  50. data/lib/rspec/rails/version.rb +1 -1
  51. data/spec/autotest/rails_rspec2_spec.rb +36 -0
  52. data/spec/generators/rspec/controller/controller_generator_spec.rb +97 -0
  53. data/spec/generators/rspec/helper/helper_generator_spec.rb +30 -0
  54. data/spec/generators/rspec/install/install_generator_spec.rb +30 -0
  55. data/spec/generators/rspec/integration/integration_generator_spec.rb +44 -0
  56. data/spec/generators/rspec/mailer/mailer_generator_spec.rb +48 -0
  57. data/spec/generators/rspec/model/model_generator_spec.rb +52 -0
  58. data/spec/generators/rspec/observer/observer_generator_spec.rb +21 -0
  59. data/spec/generators/rspec/scaffold/scaffold_generator_spec.rb +138 -0
  60. data/spec/generators/rspec/view/view_generator_spec.rb +41 -0
  61. data/spec/rspec/rails/assertion_adapter_spec.rb +28 -0
  62. data/spec/rspec/rails/assertion_delegator_spec.rb +43 -0
  63. data/spec/rspec/rails/configuration_spec.rb +26 -0
  64. data/spec/rspec/rails/deprecations_spec.rb +18 -0
  65. data/spec/rspec/rails/example/controller_example_group_spec.rb +100 -0
  66. data/spec/rspec/rails/example/feature_example_group_spec.rb +56 -0
  67. data/spec/rspec/rails/example/helper_example_group_spec.rb +64 -0
  68. data/spec/rspec/rails/example/mailer_example_group_spec.rb +21 -0
  69. data/spec/rspec/rails/example/model_example_group_spec.rb +15 -0
  70. data/spec/rspec/rails/example/request_example_group_spec.rb +17 -0
  71. data/spec/rspec/rails/example/routing_example_group_spec.rb +32 -0
  72. data/spec/rspec/rails/example/view_example_group_spec.rb +220 -0
  73. data/spec/rspec/rails/extensions/active_model/errors_on_spec.rb +23 -0
  74. data/spec/rspec/rails/extensions/active_record/base_spec.rb +42 -0
  75. data/spec/rspec/rails/fixture_support_spec.rb +17 -0
  76. data/spec/rspec/rails/matchers/be_a_new_spec.rb +142 -0
  77. data/spec/rspec/rails/matchers/be_new_record_spec.rb +33 -0
  78. data/spec/rspec/rails/matchers/be_routable_spec.rb +41 -0
  79. data/spec/rspec/rails/matchers/be_valid_spec.rb +44 -0
  80. data/spec/rspec/rails/matchers/errors_on_spec.rb +38 -0
  81. data/spec/rspec/rails/matchers/has_spec.rb +29 -0
  82. data/spec/rspec/rails/matchers/have_rendered_spec.rb +93 -0
  83. data/spec/rspec/rails/matchers/redirect_to_spec.rb +80 -0
  84. data/spec/rspec/rails/matchers/relation_match_array_spec.rb +31 -0
  85. data/spec/rspec/rails/matchers/route_to_spec.rb +151 -0
  86. data/spec/rspec/rails/minitest_lifecycle_adapter_spec.rb +22 -0
  87. data/spec/rspec/rails/mocks/mock_model_spec.rb +379 -0
  88. data/spec/rspec/rails/mocks/stub_model_spec.rb +154 -0
  89. data/spec/rspec/rails/setup_and_teardown_adapter_spec.rb +32 -0
  90. data/spec/rspec/rails/view_rendering_spec.rb +111 -0
  91. data/spec/spec_helper.rb +31 -0
  92. data/spec/support/ar_classes.rb +42 -0
  93. data/spec/support/helpers.rb +20 -0
  94. data/spec/support/matchers.rb +9 -0
  95. data/spec/support/null_object.rb +6 -0
  96. metadata +192 -18
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe RSpec::Rails::SetupAndTeardownAdapter do
4
+ describe "::setup" do
5
+ it "registers before hooks in the order setup is received" do
6
+ klass = Class.new do
7
+ include RSpec::Rails::SetupAndTeardownAdapter
8
+ def self.foo; "foo"; end
9
+ def self.bar; "bar"; end
10
+ end
11
+ klass.should_receive(:before).ordered { |&block| block.call.should eq "foo" }
12
+ klass.should_receive(:before).ordered { |&block| block.call.should eq "bar" }
13
+
14
+ klass.setup :foo
15
+ klass.setup :bar
16
+ end
17
+
18
+ it "registers prepend_before hooks for the Rails' setup methods" do
19
+ klass = Class.new do
20
+ include RSpec::Rails::SetupAndTeardownAdapter
21
+ def self.setup_fixtures; "setup fixtures" end
22
+ def self.setup_controller_request_and_response; "setup controller" end
23
+ end
24
+
25
+ klass.should_receive(:prepend_before) { |&block| block.call.should eq "setup fixtures" }
26
+ klass.should_receive(:prepend_before) { |&block| block.call.should eq "setup controller" }
27
+
28
+ klass.setup :setup_fixtures
29
+ klass.setup :setup_controller_request_and_response
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,111 @@
1
+ require "spec_helper"
2
+
3
+ module RSpec::Rails
4
+ describe ViewRendering do
5
+ let(:group) do
6
+ RSpec::Core::ExampleGroup.describe do
7
+ def controller
8
+ ActionController::Base.new
9
+ end
10
+ include ViewRendering
11
+ end
12
+ end
13
+
14
+ context "default" do
15
+ context "ActionController::Base" do
16
+ it "does not render views" do
17
+ group.new.render_views?.should be_false
18
+ end
19
+
20
+ it "does not render views in a nested group" do
21
+ group.describe{}.new.render_views?.should be_false
22
+ end
23
+ end
24
+
25
+ context "ActionController::Metal" do
26
+ it "renders views" do
27
+ group.new.tap do |example|
28
+ def example.controller
29
+ ActionController::Metal.new
30
+ end
31
+ example.render_views?.should be_true
32
+ end
33
+ end
34
+ end
35
+ end
36
+
37
+ describe "#render_views" do
38
+ context "with no args" do
39
+ it "tells examples to render views" do
40
+ group.render_views
41
+ group.new.render_views?.should be_true
42
+ end
43
+ end
44
+
45
+ context "with true" do
46
+ it "tells examples to render views" do
47
+ group.render_views true
48
+ group.new.render_views?.should be_true
49
+ end
50
+ end
51
+
52
+ context "with false" do
53
+ it "tells examples not to render views" do
54
+ group.render_views false
55
+ group.new.render_views?.should be_false
56
+ end
57
+
58
+ it "overrides the global config if render_views is enabled there" do
59
+ RSpec.configuration.stub(:render_views?).and_return true
60
+ group.render_views false
61
+ group.new.render_views?.should be_false
62
+ end
63
+ end
64
+
65
+ context "in a nested group" do
66
+ let(:nested_group) do
67
+ group.describe{}
68
+ end
69
+
70
+ context "with no args" do
71
+ it "tells examples to render views" do
72
+ nested_group.render_views
73
+ nested_group.new.render_views?.should be_true
74
+ end
75
+ end
76
+
77
+ context "with true" do
78
+ it "tells examples to render views" do
79
+ nested_group.render_views true
80
+ nested_group.new.render_views?.should be_true
81
+ end
82
+ end
83
+
84
+ context "with false" do
85
+ it "tells examples not to render views" do
86
+ nested_group.render_views false
87
+ nested_group.new.render_views?.should be_false
88
+ end
89
+ end
90
+
91
+ it "leaves the parent group as/is" do
92
+ group.render_views
93
+ nested_group.render_views false
94
+ group.new.render_views?.should be_true
95
+ end
96
+
97
+ it "overrides the value inherited from the parent group" do
98
+ group.render_views
99
+ nested_group.render_views false
100
+ nested_group.new.render_views?.should be_false
101
+ end
102
+
103
+ it "passes override to children" do
104
+ group.render_views
105
+ nested_group.render_views false
106
+ nested_group.describe{}.new.render_views?.should be_false
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,31 @@
1
+ require 'rails/all'
2
+
3
+ module RSpecRails
4
+ class Application < ::Rails::Application
5
+ end
6
+ end
7
+
8
+ require 'rspec/rails'
9
+ require 'ammeter/init'
10
+
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
12
+
13
+ class RSpec::Core::ExampleGroup
14
+ def self.run_all(reporter=nil)
15
+ run(reporter || RSpec::Mocks::Mock.new('reporter').as_null_object)
16
+ end
17
+ end
18
+
19
+ RSpec.configure do |config|
20
+ config.treat_symbols_as_metadata_keys_with_true_values = true
21
+ config.filter_run :focus
22
+ config.run_all_when_everything_filtered = true
23
+ config.before(:each) do
24
+ @real_world = RSpec.world
25
+ RSpec.instance_variable_set(:@world, RSpec::Core::World.new)
26
+ end
27
+ config.after(:each) do
28
+ RSpec.instance_variable_set(:@world, @real_world)
29
+ end
30
+ config.order = :random
31
+ end
@@ -0,0 +1,42 @@
1
+ ActiveRecord::Base.establish_connection(
2
+ :adapter => 'sqlite3',
3
+ :database => ':memory:'
4
+ )
5
+
6
+ module Connections
7
+ def self.extended(host)
8
+ host.connection.execute <<-eosql
9
+ CREATE TABLE #{host.table_name} (
10
+ #{host.primary_key} integer PRIMARY KEY AUTOINCREMENT,
11
+ associated_model_id integer,
12
+ mockable_model_id integer,
13
+ nonexistent_model_id integer
14
+ )
15
+ eosql
16
+ end
17
+ end
18
+
19
+ class NonActiveRecordModel
20
+ extend ActiveModel::Naming
21
+ include ActiveModel::Conversion
22
+ end
23
+
24
+ class MockableModel < ActiveRecord::Base
25
+ extend Connections
26
+ has_one :associated_model
27
+ end
28
+
29
+ class SubMockableModel < MockableModel
30
+ end
31
+
32
+ class AssociatedModel < ActiveRecord::Base
33
+ extend Connections
34
+ belongs_to :mockable_model
35
+ belongs_to :nonexistent_model, :class_name => "Other"
36
+ end
37
+
38
+ class AlternatePrimaryKeyModel < ActiveRecord::Base
39
+ self.primary_key = :my_id
40
+ extend Connections
41
+ attr_accessor :my_id
42
+ end
@@ -0,0 +1,20 @@
1
+ module Helpers
2
+ def stub_metadata(additional_metadata)
3
+ stub_metadata = metadata_with(additional_metadata)
4
+ RSpec::Core::ExampleGroup.stub(:metadata) { stub_metadata }
5
+ end
6
+
7
+ def metadata_with(additional_metadata)
8
+ m = RSpec::Core::Metadata.new
9
+ m.process("example group")
10
+
11
+ group_metadata = additional_metadata.delete(:example_group)
12
+ if group_metadata
13
+ m[:example_group].merge!(group_metadata)
14
+ end
15
+ m.merge!(additional_metadata)
16
+ m
17
+ end
18
+
19
+ RSpec.configure {|c| c.include self}
20
+ end
@@ -0,0 +1,9 @@
1
+ RSpec::Matchers::define :be_included_in_files_in do |path|
2
+ match do |mod|
3
+ stub_metadata(
4
+ :example_group => {:file_path => "#{path}whatever_spec.rb:15"}
5
+ )
6
+ group = RSpec::Core::ExampleGroup.describe
7
+ group.included_modules.include?(mod)
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ class NullObject
2
+ private
3
+
4
+ def method_missing(method, *args, &blk)
5
+ end
6
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0.rc1
4
+ version: 2.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-27 00:00:00.000000000 Z
11
+ date: 2013-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -56,44 +56,44 @@ dependencies:
56
56
  name: rspec-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 2.14.0.rc1
61
+ version: 2.14.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 2.14.0.rc1
68
+ version: 2.14.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-expectations
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 2.14.0.rc1
75
+ version: 2.14.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 2.14.0.rc1
82
+ version: 2.14.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-mocks
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 2.14.0.rc1
89
+ version: 2.14.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 2.14.0.rc1
96
+ version: 2.14.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -253,6 +253,93 @@ files:
253
253
  - Capybara.md
254
254
  - .yardopts
255
255
  - .document
256
+ - features/Autotest.md
257
+ - features/Generators.md
258
+ - features/GettingStarted.md
259
+ - features/README.md
260
+ - features/RailsVersions.md
261
+ - features/Transactions.md
262
+ - features/Upgrade.md
263
+ - features/controller_specs/Cookies.md
264
+ - features/controller_specs/README.md
265
+ - features/controller_specs/anonymous_controller.feature
266
+ - features/controller_specs/bypass_rescue.feature
267
+ - features/controller_specs/controller_spec.feature
268
+ - features/controller_specs/engine_routes.feature
269
+ - features/controller_specs/isolation_from_views.feature
270
+ - features/controller_specs/render_views.feature
271
+ - features/feature_specs/feature_spec.feature
272
+ - features/helper_specs/helper_spec.feature
273
+ - features/mailer_specs/url_helpers.feature
274
+ - features/matchers/README.md
275
+ - features/matchers/new_record_matcher.feature
276
+ - features/matchers/redirect_to_matcher.feature
277
+ - features/matchers/relation_match_array.feature
278
+ - features/matchers/render_template_matcher.feature
279
+ - features/mocks/mock_model.feature
280
+ - features/mocks/stub_model.feature
281
+ - features/model_specs/README.md
282
+ - features/model_specs/errors_on.feature
283
+ - features/model_specs/records.feature
284
+ - features/model_specs/transactional_examples.feature
285
+ - features/request_specs/request_spec.feature
286
+ - features/routing_specs/README.md
287
+ - features/routing_specs/be_routable_matcher.feature
288
+ - features/routing_specs/engine_routes.feature
289
+ - features/routing_specs/named_routes.feature
290
+ - features/routing_specs/route_to_matcher.feature
291
+ - features/step_definitions/additional_cli_steps.rb
292
+ - features/step_definitions/model_steps.rb
293
+ - features/support/env.rb
294
+ - features/support/rails_versions.rb
295
+ - features/view_specs/inferred_controller_path.feature
296
+ - features/view_specs/stub_template.feature
297
+ - features/view_specs/view_spec.feature
298
+ - spec/autotest/rails_rspec2_spec.rb
299
+ - spec/generators/rspec/controller/controller_generator_spec.rb
300
+ - spec/generators/rspec/helper/helper_generator_spec.rb
301
+ - spec/generators/rspec/install/install_generator_spec.rb
302
+ - spec/generators/rspec/integration/integration_generator_spec.rb
303
+ - spec/generators/rspec/mailer/mailer_generator_spec.rb
304
+ - spec/generators/rspec/model/model_generator_spec.rb
305
+ - spec/generators/rspec/observer/observer_generator_spec.rb
306
+ - spec/generators/rspec/scaffold/scaffold_generator_spec.rb
307
+ - spec/generators/rspec/view/view_generator_spec.rb
308
+ - spec/rspec/rails/assertion_adapter_spec.rb
309
+ - spec/rspec/rails/assertion_delegator_spec.rb
310
+ - spec/rspec/rails/configuration_spec.rb
311
+ - spec/rspec/rails/deprecations_spec.rb
312
+ - spec/rspec/rails/example/controller_example_group_spec.rb
313
+ - spec/rspec/rails/example/feature_example_group_spec.rb
314
+ - spec/rspec/rails/example/helper_example_group_spec.rb
315
+ - spec/rspec/rails/example/mailer_example_group_spec.rb
316
+ - spec/rspec/rails/example/model_example_group_spec.rb
317
+ - spec/rspec/rails/example/request_example_group_spec.rb
318
+ - spec/rspec/rails/example/routing_example_group_spec.rb
319
+ - spec/rspec/rails/example/view_example_group_spec.rb
320
+ - spec/rspec/rails/extensions/active_model/errors_on_spec.rb
321
+ - spec/rspec/rails/extensions/active_record/base_spec.rb
322
+ - spec/rspec/rails/fixture_support_spec.rb
323
+ - spec/rspec/rails/matchers/be_a_new_spec.rb
324
+ - spec/rspec/rails/matchers/be_new_record_spec.rb
325
+ - spec/rspec/rails/matchers/be_routable_spec.rb
326
+ - spec/rspec/rails/matchers/be_valid_spec.rb
327
+ - spec/rspec/rails/matchers/errors_on_spec.rb
328
+ - spec/rspec/rails/matchers/has_spec.rb
329
+ - spec/rspec/rails/matchers/have_rendered_spec.rb
330
+ - spec/rspec/rails/matchers/redirect_to_spec.rb
331
+ - spec/rspec/rails/matchers/relation_match_array_spec.rb
332
+ - spec/rspec/rails/matchers/route_to_spec.rb
333
+ - spec/rspec/rails/minitest_lifecycle_adapter_spec.rb
334
+ - spec/rspec/rails/mocks/mock_model_spec.rb
335
+ - spec/rspec/rails/mocks/stub_model_spec.rb
336
+ - spec/rspec/rails/setup_and_teardown_adapter_spec.rb
337
+ - spec/rspec/rails/view_rendering_spec.rb
338
+ - spec/spec_helper.rb
339
+ - spec/support/ar_classes.rb
340
+ - spec/support/helpers.rb
341
+ - spec/support/matchers.rb
342
+ - spec/support/null_object.rb
256
343
  homepage: http://github.com/rspec/rspec-rails
257
344
  licenses:
258
345
  - MIT
@@ -269,14 +356,101 @@ required_ruby_version: !ruby/object:Gem::Requirement
269
356
  version: '0'
270
357
  required_rubygems_version: !ruby/object:Gem::Requirement
271
358
  requirements:
272
- - - '>'
359
+ - - '>='
273
360
  - !ruby/object:Gem::Version
274
- version: 1.3.1
361
+ version: '0'
275
362
  requirements: []
276
363
  rubyforge_project: rspec
277
364
  rubygems_version: 2.0.3
278
365
  signing_key:
279
366
  specification_version: 4
280
- summary: rspec-rails-2.14.0.rc1
281
- test_files: []
367
+ summary: rspec-rails-2.14.0
368
+ test_files:
369
+ - features/Autotest.md
370
+ - features/Generators.md
371
+ - features/GettingStarted.md
372
+ - features/README.md
373
+ - features/RailsVersions.md
374
+ - features/Transactions.md
375
+ - features/Upgrade.md
376
+ - features/controller_specs/Cookies.md
377
+ - features/controller_specs/README.md
378
+ - features/controller_specs/anonymous_controller.feature
379
+ - features/controller_specs/bypass_rescue.feature
380
+ - features/controller_specs/controller_spec.feature
381
+ - features/controller_specs/engine_routes.feature
382
+ - features/controller_specs/isolation_from_views.feature
383
+ - features/controller_specs/render_views.feature
384
+ - features/feature_specs/feature_spec.feature
385
+ - features/helper_specs/helper_spec.feature
386
+ - features/mailer_specs/url_helpers.feature
387
+ - features/matchers/README.md
388
+ - features/matchers/new_record_matcher.feature
389
+ - features/matchers/redirect_to_matcher.feature
390
+ - features/matchers/relation_match_array.feature
391
+ - features/matchers/render_template_matcher.feature
392
+ - features/mocks/mock_model.feature
393
+ - features/mocks/stub_model.feature
394
+ - features/model_specs/README.md
395
+ - features/model_specs/errors_on.feature
396
+ - features/model_specs/records.feature
397
+ - features/model_specs/transactional_examples.feature
398
+ - features/request_specs/request_spec.feature
399
+ - features/routing_specs/README.md
400
+ - features/routing_specs/be_routable_matcher.feature
401
+ - features/routing_specs/engine_routes.feature
402
+ - features/routing_specs/named_routes.feature
403
+ - features/routing_specs/route_to_matcher.feature
404
+ - features/step_definitions/additional_cli_steps.rb
405
+ - features/step_definitions/model_steps.rb
406
+ - features/support/env.rb
407
+ - features/support/rails_versions.rb
408
+ - features/view_specs/inferred_controller_path.feature
409
+ - features/view_specs/stub_template.feature
410
+ - features/view_specs/view_spec.feature
411
+ - spec/autotest/rails_rspec2_spec.rb
412
+ - spec/generators/rspec/controller/controller_generator_spec.rb
413
+ - spec/generators/rspec/helper/helper_generator_spec.rb
414
+ - spec/generators/rspec/install/install_generator_spec.rb
415
+ - spec/generators/rspec/integration/integration_generator_spec.rb
416
+ - spec/generators/rspec/mailer/mailer_generator_spec.rb
417
+ - spec/generators/rspec/model/model_generator_spec.rb
418
+ - spec/generators/rspec/observer/observer_generator_spec.rb
419
+ - spec/generators/rspec/scaffold/scaffold_generator_spec.rb
420
+ - spec/generators/rspec/view/view_generator_spec.rb
421
+ - spec/rspec/rails/assertion_adapter_spec.rb
422
+ - spec/rspec/rails/assertion_delegator_spec.rb
423
+ - spec/rspec/rails/configuration_spec.rb
424
+ - spec/rspec/rails/deprecations_spec.rb
425
+ - spec/rspec/rails/example/controller_example_group_spec.rb
426
+ - spec/rspec/rails/example/feature_example_group_spec.rb
427
+ - spec/rspec/rails/example/helper_example_group_spec.rb
428
+ - spec/rspec/rails/example/mailer_example_group_spec.rb
429
+ - spec/rspec/rails/example/model_example_group_spec.rb
430
+ - spec/rspec/rails/example/request_example_group_spec.rb
431
+ - spec/rspec/rails/example/routing_example_group_spec.rb
432
+ - spec/rspec/rails/example/view_example_group_spec.rb
433
+ - spec/rspec/rails/extensions/active_model/errors_on_spec.rb
434
+ - spec/rspec/rails/extensions/active_record/base_spec.rb
435
+ - spec/rspec/rails/fixture_support_spec.rb
436
+ - spec/rspec/rails/matchers/be_a_new_spec.rb
437
+ - spec/rspec/rails/matchers/be_new_record_spec.rb
438
+ - spec/rspec/rails/matchers/be_routable_spec.rb
439
+ - spec/rspec/rails/matchers/be_valid_spec.rb
440
+ - spec/rspec/rails/matchers/errors_on_spec.rb
441
+ - spec/rspec/rails/matchers/has_spec.rb
442
+ - spec/rspec/rails/matchers/have_rendered_spec.rb
443
+ - spec/rspec/rails/matchers/redirect_to_spec.rb
444
+ - spec/rspec/rails/matchers/relation_match_array_spec.rb
445
+ - spec/rspec/rails/matchers/route_to_spec.rb
446
+ - spec/rspec/rails/minitest_lifecycle_adapter_spec.rb
447
+ - spec/rspec/rails/mocks/mock_model_spec.rb
448
+ - spec/rspec/rails/mocks/stub_model_spec.rb
449
+ - spec/rspec/rails/setup_and_teardown_adapter_spec.rb
450
+ - spec/rspec/rails/view_rendering_spec.rb
451
+ - spec/spec_helper.rb
452
+ - spec/support/ar_classes.rb
453
+ - spec/support/helpers.rb
454
+ - spec/support/matchers.rb
455
+ - spec/support/null_object.rb
282
456
  has_rdoc: