rspec-rails 3.0.0.beta2 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +2 -1
  4. data/Capybara.md +1 -3
  5. data/Changelog.md +126 -58
  6. data/README.md +31 -4
  7. data/lib/generators/rspec/controller/templates/controller_spec.rb +1 -1
  8. data/lib/generators/rspec/controller/templates/view_spec.rb +1 -1
  9. data/lib/generators/rspec/feature/templates/feature_spec.rb +1 -1
  10. data/lib/generators/rspec/helper/templates/helper_spec.rb +1 -1
  11. data/lib/generators/rspec/install/templates/spec/spec_helper.rb.tt +21 -1
  12. data/lib/generators/rspec/integration/templates/request_spec.rb +1 -1
  13. data/lib/generators/rspec/mailer/templates/mailer_spec.rb +1 -1
  14. data/lib/generators/rspec/model/templates/model_spec.rb +1 -1
  15. data/lib/generators/rspec/observer/templates/observer_spec.rb +1 -1
  16. data/lib/generators/rspec/scaffold/templates/controller_spec.rb +11 -3
  17. data/lib/generators/rspec/scaffold/templates/edit_spec.rb +4 -3
  18. data/lib/generators/rspec/scaffold/templates/index_spec.rb +2 -2
  19. data/lib/generators/rspec/scaffold/templates/new_spec.rb +5 -4
  20. data/lib/generators/rspec/scaffold/templates/routing_spec.rb +1 -1
  21. data/lib/generators/rspec/scaffold/templates/show_spec.rb +2 -2
  22. data/lib/generators/rspec/view/templates/view_spec.rb +1 -1
  23. data/lib/rspec/rails.rb +1 -8
  24. data/lib/rspec/rails/configuration.rb +72 -0
  25. data/lib/rspec/rails/example.rb +0 -64
  26. data/lib/rspec/rails/example/controller_example_group.rb +16 -12
  27. data/lib/rspec/rails/example/feature_example_group.rb +0 -2
  28. data/lib/rspec/rails/example/helper_example_group.rb +0 -2
  29. data/lib/rspec/rails/example/mailer_example_group.rb +0 -1
  30. data/lib/rspec/rails/example/model_example_group.rb +0 -4
  31. data/lib/rspec/rails/example/request_example_group.rb +0 -2
  32. data/lib/rspec/rails/example/routing_example_group.rb +0 -2
  33. data/lib/rspec/rails/example/view_example_group.rb +1 -2
  34. data/lib/rspec/rails/extensions.rb +0 -1
  35. data/lib/rspec/rails/fixture_support.rb +0 -8
  36. data/lib/rspec/rails/matchers.rb +1 -0
  37. data/lib/rspec/rails/matchers/have_http_status.rb +355 -0
  38. data/lib/rspec/rails/matchers/routing_matchers.rb +1 -1
  39. data/lib/rspec/rails/tasks/rspec.rake +12 -5
  40. data/lib/rspec/rails/version.rb +1 -1
  41. data/lib/rspec/rails/view_rendering.rb +6 -34
  42. metadata +42 -316
  43. metadata.gz.sig +0 -0
  44. data/features/Generators.md +0 -25
  45. data/features/GettingStarted.md +0 -84
  46. data/features/README.md +0 -48
  47. data/features/RailsVersions.md +0 -4
  48. data/features/Transactions.md +0 -84
  49. data/features/Upgrade.md +0 -121
  50. data/features/controller_specs/Cookies.md +0 -57
  51. data/features/controller_specs/README.md +0 -45
  52. data/features/controller_specs/anonymous_controller.feature +0 -436
  53. data/features/controller_specs/bypass_rescue.feature +0 -75
  54. data/features/controller_specs/controller_spec.feature +0 -58
  55. data/features/controller_specs/engine_routes.feature +0 -51
  56. data/features/controller_specs/isolation_from_views.feature +0 -87
  57. data/features/controller_specs/render_views.feature +0 -114
  58. data/features/directory_structure.feature +0 -71
  59. data/features/feature_specs/feature_spec.feature +0 -35
  60. data/features/helper_specs/helper_spec.feature +0 -122
  61. data/features/mailer_specs/url_helpers.feature +0 -38
  62. data/features/matchers/README.md +0 -18
  63. data/features/matchers/new_record_matcher.feature +0 -41
  64. data/features/matchers/redirect_to_matcher.feature +0 -40
  65. data/features/matchers/relation_match_array.feature +0 -27
  66. data/features/matchers/render_template_matcher.feature +0 -49
  67. data/features/mocks/mock_model.feature +0 -147
  68. data/features/mocks/stub_model.feature +0 -58
  69. data/features/model_specs/README.md +0 -21
  70. data/features/model_specs/errors_on.feature +0 -51
  71. data/features/model_specs/records.feature +0 -27
  72. data/features/model_specs/transactional_examples.feature +0 -109
  73. data/features/request_specs/request_spec.feature +0 -49
  74. data/features/routing_specs/README.md +0 -16
  75. data/features/routing_specs/be_routable_matcher.feature +0 -80
  76. data/features/routing_specs/engine_routes.feature +0 -38
  77. data/features/routing_specs/named_routes.feature +0 -18
  78. data/features/routing_specs/route_to_matcher.feature +0 -90
  79. data/features/step_definitions/additional_cli_steps.rb +0 -4
  80. data/features/step_definitions/model_steps.rb +0 -3
  81. data/features/support/capybara.rb +0 -7
  82. data/features/support/env.rb +0 -53
  83. data/features/support/rails_versions.rb +0 -4
  84. data/features/support/rubinius.rb +0 -6
  85. data/features/view_specs/inferred_controller_path.feature +0 -45
  86. data/features/view_specs/stub_template.feature +0 -51
  87. data/features/view_specs/view_spec.feature +0 -206
  88. data/lib/rspec/rails/extensions/active_record/base.rb +0 -58
  89. data/lib/rspec/rails/mocks.rb +0 -272
  90. data/lib/rspec/rails/vendor/webrat.rb +0 -33
  91. data/spec/generators/rspec/controller/controller_generator_spec.rb +0 -97
  92. data/spec/generators/rspec/feature/feature_generator_spec.rb +0 -43
  93. data/spec/generators/rspec/helper/helper_generator_spec.rb +0 -30
  94. data/spec/generators/rspec/install/install_generator_spec.rb +0 -30
  95. data/spec/generators/rspec/integration/integration_generator_spec.rb +0 -32
  96. data/spec/generators/rspec/mailer/mailer_generator_spec.rb +0 -48
  97. data/spec/generators/rspec/model/model_generator_spec.rb +0 -52
  98. data/spec/generators/rspec/observer/observer_generator_spec.rb +0 -21
  99. data/spec/generators/rspec/scaffold/scaffold_generator_spec.rb +0 -138
  100. data/spec/generators/rspec/view/view_generator_spec.rb +0 -41
  101. data/spec/rspec/rails/assertion_adapter_spec.rb +0 -28
  102. data/spec/rspec/rails/assertion_delegator_spec.rb +0 -43
  103. data/spec/rspec/rails/configuration_spec.rb +0 -26
  104. data/spec/rspec/rails/deprecations_spec.rb +0 -18
  105. data/spec/rspec/rails/example/controller_example_group_spec.rb +0 -159
  106. data/spec/rspec/rails/example/feature_example_group_spec.rb +0 -56
  107. data/spec/rspec/rails/example/helper_example_group_spec.rb +0 -66
  108. data/spec/rspec/rails/example/mailer_example_group_spec.rb +0 -21
  109. data/spec/rspec/rails/example/model_example_group_spec.rb +0 -15
  110. data/spec/rspec/rails/example/request_example_group_spec.rb +0 -17
  111. data/spec/rspec/rails/example/routing_example_group_spec.rb +0 -32
  112. data/spec/rspec/rails/example/view_example_group_spec.rb +0 -235
  113. data/spec/rspec/rails/extensions/active_model/errors_on_spec.rb +0 -23
  114. data/spec/rspec/rails/extensions/active_record/base_spec.rb +0 -42
  115. data/spec/rspec/rails/fixture_support_spec.rb +0 -17
  116. data/spec/rspec/rails/matchers/be_a_new_spec.rb +0 -142
  117. data/spec/rspec/rails/matchers/be_new_record_spec.rb +0 -33
  118. data/spec/rspec/rails/matchers/be_routable_spec.rb +0 -41
  119. data/spec/rspec/rails/matchers/be_valid_spec.rb +0 -73
  120. data/spec/rspec/rails/matchers/has_spec.rb +0 -29
  121. data/spec/rspec/rails/matchers/have_rendered_spec.rb +0 -93
  122. data/spec/rspec/rails/matchers/redirect_to_spec.rb +0 -81
  123. data/spec/rspec/rails/matchers/relation_match_array_spec.rb +0 -31
  124. data/spec/rspec/rails/matchers/route_to_spec.rb +0 -151
  125. data/spec/rspec/rails/minitest_lifecycle_adapter_spec.rb +0 -31
  126. data/spec/rspec/rails/mocks/mock_model_spec.rb +0 -400
  127. data/spec/rspec/rails/mocks/stub_model_spec.rb +0 -154
  128. data/spec/rspec/rails/setup_and_teardown_adapter_spec.rb +0 -32
  129. data/spec/rspec/rails/view_rendering_spec.rb +0 -111
  130. data/spec/spec_helper.rb +0 -33
  131. data/spec/support/ar_classes.rb +0 -42
  132. data/spec/support/helpers.rb +0 -34
  133. data/spec/support/matchers.rb +0 -9
  134. data/spec/support/null_object.rb +0 -6
@@ -25,7 +25,7 @@ module RSpec::Rails::Matchers
25
25
  @scope.assert_recognizes(
26
26
  @expected,
27
27
  {:method => verb_to_path_map.keys.first, :path => path},
28
- Rack::Utils::parse_query(query)
28
+ Rack::Utils::parse_nested_query(query)
29
29
  )
30
30
  end
31
31
  end
@@ -3,14 +3,12 @@ if default = Rake.application.instance_variable_get('@tasks')['default']
3
3
  default.prerequisites.delete('test')
4
4
  end
5
5
 
6
- spec_prereq = Rails.configuration.generators.options[:rails][:orm] == :active_record ? "test:prepare" : :noop
7
- task :noop do; end
8
6
  task :default => :spec
9
7
 
10
8
  task :stats => "spec:statsetup"
11
9
 
12
10
  desc "Run all specs in spec directory (excluding plugin specs)"
13
- RSpec::Core::RakeTask.new(:spec => spec_prereq)
11
+ RSpec::Core::RakeTask.new(:spec => "spec:prepare")
14
12
 
15
13
  namespace :spec do
16
14
  types = begin
@@ -21,9 +19,18 @@ namespace :spec do
21
19
  Hash[dirs.map { |d| [d.split('/').last, d] }]
22
20
  end
23
21
 
22
+ task :prepare do
23
+ ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
24
+ if Rails.configuration.generators.options[:rails][:orm] == :active_record
25
+ if Rake::Task.task_defined?("test:prepare")
26
+ Rake::Task["test:prepare"].invoke
27
+ end
28
+ end
29
+ end
30
+
24
31
  types.each do |type, dir|
25
32
  desc "Run the code examples in #{dir}"
26
- RSpec::Core::RakeTask.new(type => spec_prereq) do |t|
33
+ RSpec::Core::RakeTask.new(type => "spec:prepare") do |t|
27
34
  t.pattern = "./#{dir}/**/*_spec.rb"
28
35
  end
29
36
  end
@@ -31,7 +38,7 @@ namespace :spec do
31
38
  # RCov task only enabled for Ruby 1.8
32
39
  if RUBY_VERSION < '1.9'
33
40
  desc "Run all specs with rcov"
34
- RSpec::Core::RakeTask.new(:rcov => spec_prereq) do |t|
41
+ RSpec::Core::RakeTask.new(:rcov => "spec:prepare") do |t|
35
42
  t.rcov = true
36
43
  t.pattern = "./spec/**/*_spec.rb"
37
44
  t.rcov_opts = '--exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-,spec'
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Rails
3
3
  module Version
4
- STRING = '3.0.0.beta2'
4
+ STRING = '3.0.0.rc1'
5
5
  end
6
6
  end
7
7
  end
@@ -1,27 +1,5 @@
1
1
  require 'action_view/testing/resolvers'
2
2
 
3
- RSpec.configure do |config|
4
- # This allows us to expose `render_views` as a config option even though it
5
- # breaks the convention of other options by using `render_views` as a
6
- # command (i.e. render_views = true), where it would normally be used as a
7
- # getter. This makes it easier for rspec-rails users because we use
8
- # `render_views` directly in example groups, so this aligns the two APIs,
9
- # but requires this workaround:
10
- config.add_setting :rendering_views, :default => false
11
-
12
- def config.render_views=(val)
13
- self.rendering_views = val
14
- end
15
-
16
- def config.render_views
17
- self.rendering_views = true
18
- end
19
-
20
- def config.render_views?
21
- rendering_views
22
- end
23
- end
24
-
25
3
  module RSpec
26
4
  module Rails
27
5
  module ViewRendering
@@ -30,24 +8,18 @@ module RSpec
30
8
  attr_accessor :controller
31
9
 
32
10
  module ClassMethods
33
- def metadata_for_rspec_rails
34
- metadata[:rspec_rails] = metadata[:rspec_rails] ? metadata[:rspec_rails].dup : {}
35
- end
36
-
37
11
  # @see RSpec::Rails::ControllerExampleGroup
38
12
  def render_views(true_or_false=true)
39
- metadata_for_rspec_rails[:render_views] = true_or_false
40
- end
41
-
42
- # @deprecated Use `render_views` instead.
43
- def integrate_views
44
- RSpec.deprecate("integrate_views", :replacement => "render_views")
45
- render_views
13
+ @render_views = true_or_false
46
14
  end
47
15
 
48
16
  # @api private
49
17
  def render_views?
50
- metadata_for_rspec_rails.fetch(:render_views) do
18
+ return @render_views if defined?(@render_views)
19
+
20
+ if superclass.respond_to?(:render_views?)
21
+ superclass.render_views?
22
+ else
51
23
  RSpec.configuration.render_views?
52
24
  end
53
25
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta2
5
- prerelease: 6
4
+ version: 3.0.0.rc1
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Chelimsky
@@ -10,283 +9,197 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain:
13
- - ! '-----BEGIN CERTIFICATE-----
14
-
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
15
14
  MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRIwEAYDVQQDDAlyc3Bl
16
-
17
15
  Yy1kZXYxGzAZBgoJkiaJk/IsZAEZFgtnb29nbGVnb3VwczETMBEGCgmSJomT8ixk
18
-
19
16
  ARkWA2NvbTAeFw0xMzExMDcxOTQyNTlaFw0xNDExMDcxOTQyNTlaMEYxEjAQBgNV
20
-
21
17
  BAMMCXJzcGVjLWRldjEbMBkGCgmSJomT8ixkARkWC2dvb2dsZWdvdXBzMRMwEQYK
22
-
23
18
  CZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
24
-
25
19
  nhCeZouDLXWO55no+EdZNCtjXjfJQ1X9TbPcvBDD29OypIUce2h/VdKXB2gI7ZHs
26
-
27
20
  F5NkPggslTErGFmWAtIiur7u943RVqHOsyoIsy065F9fCtrykkA+22elvTDha4Iz
28
-
29
21
  RUCvuhQ3klatYk4jF+cGt1jNONNVdLOiy0bMynvcM7hoVQ2AomwGs+cEOWQ/4dkD
30
-
31
22
  JcNV3qfzF5QBcTD2372XNM53b25nYVQSX2KH5FF7BhlKyov33bOm2gA9M+mWIujW
32
-
33
23
  qgkyxVlfrlE+ZBgV3wXn1Cojg1LpTq35yOArgwioyrwwlZZJR9joN9s/nDklfr5A
34
-
35
24
  +dyETjFc6cmEPWZrt2cJBQIDAQABo4GGMIGDMAkGA1UdEwQCMAAwCwYDVR0PBAQD
36
-
37
25
  AgSwMB0GA1UdDgQWBBSW+WD7hn1swJ1A7i8tbuFeuNCJCjAkBgNVHREEHTAbgRly
38
-
39
26
  c3BlYy1kZXZAZ29vZ2xlZ291cHMuY29tMCQGA1UdEgQdMBuBGXJzcGVjLWRldkBn
40
-
41
27
  b29nbGVnb3Vwcy5jb20wDQYJKoZIhvcNAQEFBQADggEBAH27jAZ8sD7vnXupj6Y+
42
-
43
28
  BaBdfHtCkFaslLJ0aKuMDIVXwYuKfqoW15cZPDLmSIEBuQFM3lw6d/hEEL4Uo2jZ
44
-
45
29
  FvtmH5OxifPDzFyUtCL4yp6qgNe/Xf6sDsRg6FmKcpgqCwNOmsViaf0LPSUH/GYQ
46
-
47
30
  3Teoz8QCaDbD7AKsffT7eDrnbHnKweO1XdemRJC98u/yYxnGzMSWKEsn09etBlZ9
48
-
49
31
  7H67k5Z3uf6cfLZgToWL6zShzZY3Nun5r73YsNf2/QZOe4UZe4vfGvn6baw53ys9
50
-
51
32
  1yHC1AcSYpvi2dAbOiHT5iQF+krm4wse8KctXgTNnjMsHEoGKulJS2/sZl90jcCz
52
-
53
33
  muA=
54
-
55
34
  -----END CERTIFICATE-----
56
-
57
- '
58
- date: 2014-02-18 00:00:00.000000000 Z
35
+ date: 2014-05-18 00:00:00.000000000 Z
59
36
  dependencies:
60
37
  - !ruby/object:Gem::Dependency
61
38
  name: activesupport
62
39
  requirement: !ruby/object:Gem::Requirement
63
- none: false
64
40
  requirements:
65
- - - ! '>='
41
+ - - ">="
66
42
  - !ruby/object:Gem::Version
67
43
  version: '3.0'
68
44
  type: :runtime
69
45
  prerelease: false
70
46
  version_requirements: !ruby/object:Gem::Requirement
71
- none: false
72
47
  requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- - !ruby/object:Gem::Dependency
77
- name: activemodel
78
- requirement: !ruby/object:Gem::Requirement
79
- none: false
80
- requirements:
81
- - - ! '>='
82
- - !ruby/object:Gem::Version
83
- version: '3.0'
84
- type: :runtime
85
- prerelease: false
86
- version_requirements: !ruby/object:Gem::Requirement
87
- none: false
88
- requirements:
89
- - - ! '>='
48
+ - - ">="
90
49
  - !ruby/object:Gem::Version
91
50
  version: '3.0'
92
51
  - !ruby/object:Gem::Dependency
93
52
  name: actionpack
94
53
  requirement: !ruby/object:Gem::Requirement
95
- none: false
96
54
  requirements:
97
- - - ! '>='
55
+ - - ">="
98
56
  - !ruby/object:Gem::Version
99
57
  version: '3.0'
100
58
  type: :runtime
101
59
  prerelease: false
102
60
  version_requirements: !ruby/object:Gem::Requirement
103
- none: false
104
61
  requirements:
105
- - - ! '>='
62
+ - - ">="
106
63
  - !ruby/object:Gem::Version
107
64
  version: '3.0'
108
65
  - !ruby/object:Gem::Dependency
109
66
  name: railties
110
67
  requirement: !ruby/object:Gem::Requirement
111
- none: false
112
68
  requirements:
113
- - - ! '>='
69
+ - - ">="
114
70
  - !ruby/object:Gem::Version
115
71
  version: '3.0'
116
72
  type: :runtime
117
73
  prerelease: false
118
74
  version_requirements: !ruby/object:Gem::Requirement
119
- none: false
120
75
  requirements:
121
- - - ! '>='
76
+ - - ">="
122
77
  - !ruby/object:Gem::Version
123
78
  version: '3.0'
124
79
  - !ruby/object:Gem::Dependency
125
80
  name: rspec-core
126
81
  requirement: !ruby/object:Gem::Requirement
127
- none: false
128
82
  requirements:
129
83
  - - '='
130
84
  - !ruby/object:Gem::Version
131
- version: 3.0.0.beta2
85
+ version: 3.0.0.rc1
132
86
  type: :runtime
133
87
  prerelease: false
134
88
  version_requirements: !ruby/object:Gem::Requirement
135
- none: false
136
89
  requirements:
137
90
  - - '='
138
91
  - !ruby/object:Gem::Version
139
- version: 3.0.0.beta2
92
+ version: 3.0.0.rc1
140
93
  - !ruby/object:Gem::Dependency
141
94
  name: rspec-expectations
142
95
  requirement: !ruby/object:Gem::Requirement
143
- none: false
144
96
  requirements:
145
97
  - - '='
146
98
  - !ruby/object:Gem::Version
147
- version: 3.0.0.beta2
99
+ version: 3.0.0.rc1
148
100
  type: :runtime
149
101
  prerelease: false
150
102
  version_requirements: !ruby/object:Gem::Requirement
151
- none: false
152
103
  requirements:
153
104
  - - '='
154
105
  - !ruby/object:Gem::Version
155
- version: 3.0.0.beta2
106
+ version: 3.0.0.rc1
156
107
  - !ruby/object:Gem::Dependency
157
108
  name: rspec-mocks
158
109
  requirement: !ruby/object:Gem::Requirement
159
- none: false
160
110
  requirements:
161
111
  - - '='
162
112
  - !ruby/object:Gem::Version
163
- version: 3.0.0.beta2
113
+ version: 3.0.0.rc1
164
114
  type: :runtime
165
115
  prerelease: false
166
116
  version_requirements: !ruby/object:Gem::Requirement
167
- none: false
168
117
  requirements:
169
118
  - - '='
170
119
  - !ruby/object:Gem::Version
171
- version: 3.0.0.beta2
120
+ version: 3.0.0.rc1
172
121
  - !ruby/object:Gem::Dependency
173
122
  name: rspec-support
174
123
  requirement: !ruby/object:Gem::Requirement
175
- none: false
176
124
  requirements:
177
125
  - - '='
178
126
  - !ruby/object:Gem::Version
179
- version: 3.0.0.beta2
127
+ version: 3.0.0.rc1
180
128
  type: :runtime
181
129
  prerelease: false
182
130
  version_requirements: !ruby/object:Gem::Requirement
183
- none: false
184
131
  requirements:
185
132
  - - '='
186
133
  - !ruby/object:Gem::Version
187
- version: 3.0.0.beta2
188
- - !ruby/object:Gem::Dependency
189
- name: rspec-collection_matchers
190
- requirement: !ruby/object:Gem::Requirement
191
- none: false
192
- requirements:
193
- - - ! '>='
194
- - !ruby/object:Gem::Version
195
- version: '0'
196
- type: :runtime
197
- prerelease: false
198
- version_requirements: !ruby/object:Gem::Requirement
199
- none: false
200
- requirements:
201
- - - ! '>='
202
- - !ruby/object:Gem::Version
203
- version: '0'
134
+ version: 3.0.0.rc1
204
135
  - !ruby/object:Gem::Dependency
205
136
  name: rake
206
137
  requirement: !ruby/object:Gem::Requirement
207
- none: false
208
138
  requirements:
209
- - - ~>
139
+ - - "~>"
210
140
  - !ruby/object:Gem::Version
211
141
  version: 10.0.0
212
142
  type: :development
213
143
  prerelease: false
214
144
  version_requirements: !ruby/object:Gem::Requirement
215
- none: false
216
145
  requirements:
217
- - - ~>
146
+ - - "~>"
218
147
  - !ruby/object:Gem::Version
219
148
  version: 10.0.0
220
149
  - !ruby/object:Gem::Dependency
221
150
  name: cucumber
222
151
  requirement: !ruby/object:Gem::Requirement
223
- none: false
224
152
  requirements:
225
- - - ~>
153
+ - - "~>"
226
154
  - !ruby/object:Gem::Version
227
155
  version: 1.3.5
228
156
  type: :development
229
157
  prerelease: false
230
158
  version_requirements: !ruby/object:Gem::Requirement
231
- none: false
232
159
  requirements:
233
- - - ~>
160
+ - - "~>"
234
161
  - !ruby/object:Gem::Version
235
162
  version: 1.3.5
236
163
  - !ruby/object:Gem::Dependency
237
164
  name: aruba
238
165
  requirement: !ruby/object:Gem::Requirement
239
- none: false
240
166
  requirements:
241
- - - ~>
167
+ - - "~>"
242
168
  - !ruby/object:Gem::Version
243
169
  version: 0.4.11
244
170
  type: :development
245
171
  prerelease: false
246
172
  version_requirements: !ruby/object:Gem::Requirement
247
- none: false
248
173
  requirements:
249
- - - ~>
174
+ - - "~>"
250
175
  - !ruby/object:Gem::Version
251
176
  version: 0.4.11
252
- - !ruby/object:Gem::Dependency
253
- name: ZenTest
254
- requirement: !ruby/object:Gem::Requirement
255
- none: false
256
- requirements:
257
- - - ~>
258
- - !ruby/object:Gem::Version
259
- version: 4.9.5
260
- type: :development
261
- prerelease: false
262
- version_requirements: !ruby/object:Gem::Requirement
263
- none: false
264
- requirements:
265
- - - ~>
266
- - !ruby/object:Gem::Version
267
- version: 4.9.5
268
177
  - !ruby/object:Gem::Dependency
269
178
  name: ammeter
270
179
  requirement: !ruby/object:Gem::Requirement
271
- none: false
272
180
  requirements:
273
181
  - - '='
274
182
  - !ruby/object:Gem::Version
275
- version: 0.2.5
183
+ version: 1.0.0
276
184
  type: :development
277
185
  prerelease: false
278
186
  version_requirements: !ruby/object:Gem::Requirement
279
- none: false
280
187
  requirements:
281
188
  - - '='
282
189
  - !ruby/object:Gem::Version
283
- version: 0.2.5
190
+ version: 1.0.0
284
191
  description: RSpec for Rails
285
192
  email: rspec@googlegroups.com
286
193
  executables: []
287
194
  extensions: []
288
195
  extra_rdoc_files: []
289
196
  files:
197
+ - ".document"
198
+ - ".yardopts"
199
+ - Capybara.md
200
+ - Changelog.md
201
+ - License.txt
202
+ - README.md
290
203
  - lib/generators/rspec.rb
291
204
  - lib/generators/rspec/controller/controller_generator.rb
292
205
  - lib/generators/rspec/controller/templates/controller_spec.rb
@@ -320,6 +233,7 @@ files:
320
233
  - lib/rspec-rails.rb
321
234
  - lib/rspec/rails.rb
322
235
  - lib/rspec/rails/adapters.rb
236
+ - lib/rspec/rails/configuration.rb
323
237
  - lib/rspec/rails/example.rb
324
238
  - lib/rspec/rails/example/controller_example_group.rb
325
239
  - lib/rspec/rails/example/feature_example_group.rb
@@ -331,234 +245,46 @@ files:
331
245
  - lib/rspec/rails/example/routing_example_group.rb
332
246
  - lib/rspec/rails/example/view_example_group.rb
333
247
  - lib/rspec/rails/extensions.rb
334
- - lib/rspec/rails/extensions/active_record/base.rb
335
248
  - lib/rspec/rails/extensions/active_record/proxy.rb
336
249
  - lib/rspec/rails/fixture_support.rb
337
250
  - lib/rspec/rails/matchers.rb
338
251
  - lib/rspec/rails/matchers/be_a_new.rb
339
252
  - lib/rspec/rails/matchers/be_new_record.rb
340
253
  - lib/rspec/rails/matchers/be_valid.rb
254
+ - lib/rspec/rails/matchers/have_http_status.rb
341
255
  - lib/rspec/rails/matchers/have_rendered.rb
342
256
  - lib/rspec/rails/matchers/redirect_to.rb
343
257
  - lib/rspec/rails/matchers/relation_match_array.rb
344
258
  - lib/rspec/rails/matchers/routing_matchers.rb
345
- - lib/rspec/rails/mocks.rb
346
259
  - lib/rspec/rails/tasks/rspec.rake
347
260
  - lib/rspec/rails/vendor/capybara.rb
348
- - lib/rspec/rails/vendor/webrat.rb
349
261
  - lib/rspec/rails/version.rb
350
262
  - lib/rspec/rails/view_assigns.rb
351
263
  - lib/rspec/rails/view_rendering.rb
352
- - README.md
353
- - License.txt
354
- - Changelog.md
355
- - Capybara.md
356
- - .yardopts
357
- - .document
358
- - features/Generators.md
359
- - features/GettingStarted.md
360
- - features/README.md
361
- - features/RailsVersions.md
362
- - features/Transactions.md
363
- - features/Upgrade.md
364
- - features/controller_specs/Cookies.md
365
- - features/controller_specs/README.md
366
- - features/controller_specs/anonymous_controller.feature
367
- - features/controller_specs/bypass_rescue.feature
368
- - features/controller_specs/controller_spec.feature
369
- - features/controller_specs/engine_routes.feature
370
- - features/controller_specs/isolation_from_views.feature
371
- - features/controller_specs/render_views.feature
372
- - features/directory_structure.feature
373
- - features/feature_specs/feature_spec.feature
374
- - features/helper_specs/helper_spec.feature
375
- - features/mailer_specs/url_helpers.feature
376
- - features/matchers/README.md
377
- - features/matchers/new_record_matcher.feature
378
- - features/matchers/redirect_to_matcher.feature
379
- - features/matchers/relation_match_array.feature
380
- - features/matchers/render_template_matcher.feature
381
- - features/mocks/mock_model.feature
382
- - features/mocks/stub_model.feature
383
- - features/model_specs/README.md
384
- - features/model_specs/errors_on.feature
385
- - features/model_specs/records.feature
386
- - features/model_specs/transactional_examples.feature
387
- - features/request_specs/request_spec.feature
388
- - features/routing_specs/README.md
389
- - features/routing_specs/be_routable_matcher.feature
390
- - features/routing_specs/engine_routes.feature
391
- - features/routing_specs/named_routes.feature
392
- - features/routing_specs/route_to_matcher.feature
393
- - features/step_definitions/additional_cli_steps.rb
394
- - features/step_definitions/model_steps.rb
395
- - features/support/capybara.rb
396
- - features/support/env.rb
397
- - features/support/rails_versions.rb
398
- - features/support/rubinius.rb
399
- - features/view_specs/inferred_controller_path.feature
400
- - features/view_specs/stub_template.feature
401
- - features/view_specs/view_spec.feature
402
- - spec/generators/rspec/controller/controller_generator_spec.rb
403
- - spec/generators/rspec/feature/feature_generator_spec.rb
404
- - spec/generators/rspec/helper/helper_generator_spec.rb
405
- - spec/generators/rspec/install/install_generator_spec.rb
406
- - spec/generators/rspec/integration/integration_generator_spec.rb
407
- - spec/generators/rspec/mailer/mailer_generator_spec.rb
408
- - spec/generators/rspec/model/model_generator_spec.rb
409
- - spec/generators/rspec/observer/observer_generator_spec.rb
410
- - spec/generators/rspec/scaffold/scaffold_generator_spec.rb
411
- - spec/generators/rspec/view/view_generator_spec.rb
412
- - spec/rspec/rails/assertion_adapter_spec.rb
413
- - spec/rspec/rails/assertion_delegator_spec.rb
414
- - spec/rspec/rails/configuration_spec.rb
415
- - spec/rspec/rails/deprecations_spec.rb
416
- - spec/rspec/rails/example/controller_example_group_spec.rb
417
- - spec/rspec/rails/example/feature_example_group_spec.rb
418
- - spec/rspec/rails/example/helper_example_group_spec.rb
419
- - spec/rspec/rails/example/mailer_example_group_spec.rb
420
- - spec/rspec/rails/example/model_example_group_spec.rb
421
- - spec/rspec/rails/example/request_example_group_spec.rb
422
- - spec/rspec/rails/example/routing_example_group_spec.rb
423
- - spec/rspec/rails/example/view_example_group_spec.rb
424
- - spec/rspec/rails/extensions/active_model/errors_on_spec.rb
425
- - spec/rspec/rails/extensions/active_record/base_spec.rb
426
- - spec/rspec/rails/fixture_support_spec.rb
427
- - spec/rspec/rails/matchers/be_a_new_spec.rb
428
- - spec/rspec/rails/matchers/be_new_record_spec.rb
429
- - spec/rspec/rails/matchers/be_routable_spec.rb
430
- - spec/rspec/rails/matchers/be_valid_spec.rb
431
- - spec/rspec/rails/matchers/has_spec.rb
432
- - spec/rspec/rails/matchers/have_rendered_spec.rb
433
- - spec/rspec/rails/matchers/redirect_to_spec.rb
434
- - spec/rspec/rails/matchers/relation_match_array_spec.rb
435
- - spec/rspec/rails/matchers/route_to_spec.rb
436
- - spec/rspec/rails/minitest_lifecycle_adapter_spec.rb
437
- - spec/rspec/rails/mocks/mock_model_spec.rb
438
- - spec/rspec/rails/mocks/stub_model_spec.rb
439
- - spec/rspec/rails/setup_and_teardown_adapter_spec.rb
440
- - spec/rspec/rails/view_rendering_spec.rb
441
- - spec/spec_helper.rb
442
- - spec/support/ar_classes.rb
443
- - spec/support/helpers.rb
444
- - spec/support/matchers.rb
445
- - spec/support/null_object.rb
446
264
  homepage: http://github.com/rspec/rspec-rails
447
265
  licenses:
448
266
  - MIT
267
+ metadata: {}
449
268
  post_install_message:
450
269
  rdoc_options:
451
- - --charset=UTF-8
270
+ - "--charset=UTF-8"
452
271
  require_paths:
453
272
  - lib
454
273
  required_ruby_version: !ruby/object:Gem::Requirement
455
- none: false
456
274
  requirements:
457
- - - ! '>='
275
+ - - ">="
458
276
  - !ruby/object:Gem::Version
459
277
  version: '0'
460
- segments:
461
- - 0
462
- hash: 2330454998663520560
463
278
  required_rubygems_version: !ruby/object:Gem::Requirement
464
- none: false
465
279
  requirements:
466
- - - ! '>'
280
+ - - ">"
467
281
  - !ruby/object:Gem::Version
468
282
  version: 1.3.1
469
283
  requirements: []
470
284
  rubyforge_project: rspec
471
- rubygems_version: 1.8.23
285
+ rubygems_version: 2.2.2
472
286
  signing_key:
473
- specification_version: 3
474
- summary: rspec-rails-3.0.0.beta2
475
- test_files:
476
- - features/Generators.md
477
- - features/GettingStarted.md
478
- - features/README.md
479
- - features/RailsVersions.md
480
- - features/Transactions.md
481
- - features/Upgrade.md
482
- - features/controller_specs/Cookies.md
483
- - features/controller_specs/README.md
484
- - features/controller_specs/anonymous_controller.feature
485
- - features/controller_specs/bypass_rescue.feature
486
- - features/controller_specs/controller_spec.feature
487
- - features/controller_specs/engine_routes.feature
488
- - features/controller_specs/isolation_from_views.feature
489
- - features/controller_specs/render_views.feature
490
- - features/directory_structure.feature
491
- - features/feature_specs/feature_spec.feature
492
- - features/helper_specs/helper_spec.feature
493
- - features/mailer_specs/url_helpers.feature
494
- - features/matchers/README.md
495
- - features/matchers/new_record_matcher.feature
496
- - features/matchers/redirect_to_matcher.feature
497
- - features/matchers/relation_match_array.feature
498
- - features/matchers/render_template_matcher.feature
499
- - features/mocks/mock_model.feature
500
- - features/mocks/stub_model.feature
501
- - features/model_specs/README.md
502
- - features/model_specs/errors_on.feature
503
- - features/model_specs/records.feature
504
- - features/model_specs/transactional_examples.feature
505
- - features/request_specs/request_spec.feature
506
- - features/routing_specs/README.md
507
- - features/routing_specs/be_routable_matcher.feature
508
- - features/routing_specs/engine_routes.feature
509
- - features/routing_specs/named_routes.feature
510
- - features/routing_specs/route_to_matcher.feature
511
- - features/step_definitions/additional_cli_steps.rb
512
- - features/step_definitions/model_steps.rb
513
- - features/support/capybara.rb
514
- - features/support/env.rb
515
- - features/support/rails_versions.rb
516
- - features/support/rubinius.rb
517
- - features/view_specs/inferred_controller_path.feature
518
- - features/view_specs/stub_template.feature
519
- - features/view_specs/view_spec.feature
520
- - spec/generators/rspec/controller/controller_generator_spec.rb
521
- - spec/generators/rspec/feature/feature_generator_spec.rb
522
- - spec/generators/rspec/helper/helper_generator_spec.rb
523
- - spec/generators/rspec/install/install_generator_spec.rb
524
- - spec/generators/rspec/integration/integration_generator_spec.rb
525
- - spec/generators/rspec/mailer/mailer_generator_spec.rb
526
- - spec/generators/rspec/model/model_generator_spec.rb
527
- - spec/generators/rspec/observer/observer_generator_spec.rb
528
- - spec/generators/rspec/scaffold/scaffold_generator_spec.rb
529
- - spec/generators/rspec/view/view_generator_spec.rb
530
- - spec/rspec/rails/assertion_adapter_spec.rb
531
- - spec/rspec/rails/assertion_delegator_spec.rb
532
- - spec/rspec/rails/configuration_spec.rb
533
- - spec/rspec/rails/deprecations_spec.rb
534
- - spec/rspec/rails/example/controller_example_group_spec.rb
535
- - spec/rspec/rails/example/feature_example_group_spec.rb
536
- - spec/rspec/rails/example/helper_example_group_spec.rb
537
- - spec/rspec/rails/example/mailer_example_group_spec.rb
538
- - spec/rspec/rails/example/model_example_group_spec.rb
539
- - spec/rspec/rails/example/request_example_group_spec.rb
540
- - spec/rspec/rails/example/routing_example_group_spec.rb
541
- - spec/rspec/rails/example/view_example_group_spec.rb
542
- - spec/rspec/rails/extensions/active_model/errors_on_spec.rb
543
- - spec/rspec/rails/extensions/active_record/base_spec.rb
544
- - spec/rspec/rails/fixture_support_spec.rb
545
- - spec/rspec/rails/matchers/be_a_new_spec.rb
546
- - spec/rspec/rails/matchers/be_new_record_spec.rb
547
- - spec/rspec/rails/matchers/be_routable_spec.rb
548
- - spec/rspec/rails/matchers/be_valid_spec.rb
549
- - spec/rspec/rails/matchers/has_spec.rb
550
- - spec/rspec/rails/matchers/have_rendered_spec.rb
551
- - spec/rspec/rails/matchers/redirect_to_spec.rb
552
- - spec/rspec/rails/matchers/relation_match_array_spec.rb
553
- - spec/rspec/rails/matchers/route_to_spec.rb
554
- - spec/rspec/rails/minitest_lifecycle_adapter_spec.rb
555
- - spec/rspec/rails/mocks/mock_model_spec.rb
556
- - spec/rspec/rails/mocks/stub_model_spec.rb
557
- - spec/rspec/rails/setup_and_teardown_adapter_spec.rb
558
- - spec/rspec/rails/view_rendering_spec.rb
559
- - spec/spec_helper.rb
560
- - spec/support/ar_classes.rb
561
- - spec/support/helpers.rb
562
- - spec/support/matchers.rb
563
- - spec/support/null_object.rb
287
+ specification_version: 4
288
+ summary: rspec-rails-3.0.0.rc1
289
+ test_files: []
564
290
  has_rdoc: