rspec-rails 1.3.4 → 2.0.0.a2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. data/.gitignore +1 -7
  2. data/README.markdown +58 -0
  3. data/Rakefile +51 -9
  4. data/example_app_template.rb +33 -0
  5. data/lib/generators/rspec.rb +25 -0
  6. data/lib/generators/rspec/controller/controller_generator.rb +26 -0
  7. data/lib/generators/rspec/controller/templates/controller_spec.rb +15 -0
  8. data/lib/generators/rspec/controller/templates/view_spec.rb +12 -0
  9. data/lib/generators/rspec/helper/helper_generator.rb +11 -0
  10. data/lib/generators/rspec/helper/templates/helper_spec.rb +14 -0
  11. data/lib/generators/rspec/install/install_generator.rb +29 -0
  12. data/lib/generators/rspec/install/templates/lib/tasks/rspec.rake +119 -0
  13. data/lib/generators/rspec/install/templates/script/rspec.tt +4 -0
  14. data/{generators/rspec/templates → lib/generators/rspec/install/templates/spec}/rcov.opts +0 -0
  15. data/{generators/rspec/templates → lib/generators/rspec/install/templates/spec}/spec.opts +0 -0
  16. data/{generators/rspec/templates → lib/generators/rspec/install/templates/spec}/spec_helper.rb +14 -12
  17. data/lib/generators/rspec/integration/integration_generator.rb +12 -0
  18. data/{generators/integration_spec/templates/integration_spec.rb → lib/generators/rspec/integration/templates/request_spec.rb} +0 -0
  19. data/lib/generators/rspec/mailer/mailer_generator.rb +21 -0
  20. data/lib/generators/rspec/mailer/templates/fixture +3 -0
  21. data/lib/generators/rspec/mailer/templates/mailer_spec.rb +14 -0
  22. data/lib/generators/rspec/model/model_generator.rb +22 -0
  23. data/lib/generators/rspec/model/templates/fixtures.yml +19 -0
  24. data/{generators/rspec_model → lib/generators/rspec/model}/templates/model_spec.rb +1 -1
  25. data/lib/generators/rspec/observer/observer_generator.rb +12 -0
  26. data/lib/generators/rspec/observer/templates/observer_spec.rb +5 -0
  27. data/lib/generators/rspec/plugin/plugin_generator.rb +11 -0
  28. data/lib/generators/rspec/plugin/templates/%file_name%_spec.rb.tt +5 -0
  29. data/lib/generators/rspec/plugin/templates/test_helper.rb +5 -0
  30. data/lib/generators/rspec/scaffold/scaffold_generator.rb +112 -0
  31. data/lib/generators/rspec/scaffold/templates/controller_spec.rb +127 -0
  32. data/{generators/rspec_scaffold/templates/edit_erb_spec.rb → lib/generators/rspec/scaffold/templates/edit_spec.rb} +3 -3
  33. data/{generators/rspec_scaffold/templates/index_erb_spec.rb → lib/generators/rspec/scaffold/templates/index_spec.rb} +4 -4
  34. data/{generators/rspec_scaffold/templates/new_erb_spec.rb → lib/generators/rspec/scaffold/templates/new_spec.rb} +3 -3
  35. data/{generators/rspec_scaffold → lib/generators/rspec/scaffold}/templates/routing_spec.rb +4 -0
  36. data/{generators/rspec_scaffold/templates/show_erb_spec.rb → lib/generators/rspec/scaffold/templates/show_spec.rb} +4 -4
  37. data/lib/rspec/rails.rb +2 -0
  38. data/lib/rspec/rails/example.rb +2 -0
  39. data/lib/rspec/rails/example/controller_example_group.rb +31 -0
  40. data/lib/rspec/rails/example/request_example_group.rb +26 -0
  41. data/lib/rspec/rails/matchers.rb +14 -0
  42. data/lib/rspec/rails/transactional_database_support.rb +38 -0
  43. data/lib/rspec/rails/version.rb +16 -0
  44. data/rspec-rails.gemspec +78 -18
  45. metadata +97 -321
  46. data/.document +0 -7
  47. data/Contribute.rdoc +0 -4
  48. data/Gemfile +0 -4
  49. data/Gemfile.lock +0 -27
  50. data/History.rdoc +0 -321
  51. data/License.txt +0 -33
  52. data/Manifest.txt +0 -165
  53. data/README.rdoc +0 -48
  54. data/TODO.txt +0 -17
  55. data/Upgrade.rdoc +0 -148
  56. data/generators/integration_spec/integration_spec_generator.rb +0 -10
  57. data/generators/rspec/CHANGES +0 -1
  58. data/generators/rspec/rspec_generator.rb +0 -72
  59. data/generators/rspec/templates/previous_failures.txt +0 -0
  60. data/generators/rspec/templates/rspec.rake +0 -144
  61. data/generators/rspec/templates/script/autospec +0 -6
  62. data/generators/rspec/templates/script/spec +0 -10
  63. data/generators/rspec_controller/USAGE +0 -33
  64. data/generators/rspec_controller/rspec_controller_generator.rb +0 -47
  65. data/generators/rspec_controller/templates/controller_spec.rb +0 -25
  66. data/generators/rspec_controller/templates/helper_spec.rb +0 -11
  67. data/generators/rspec_controller/templates/view_spec.rb +0 -12
  68. data/generators/rspec_default_values.rb +0 -28
  69. data/generators/rspec_model/USAGE +0 -18
  70. data/generators/rspec_model/rspec_model_generator.rb +0 -35
  71. data/generators/rspec_scaffold/rspec_scaffold_generator.rb +0 -154
  72. data/generators/rspec_scaffold/templates/controller_spec.rb +0 -131
  73. data/generators/rspec_scaffold/templates/helper_spec.rb +0 -11
  74. data/init.rb +0 -9
  75. data/lib/autotest/discover.rb +0 -5
  76. data/lib/autotest/rails_rspec.rb +0 -76
  77. data/lib/spec/rails.rb +0 -26
  78. data/lib/spec/rails/example.rb +0 -48
  79. data/lib/spec/rails/example/assigns_hash_proxy.rb +0 -39
  80. data/lib/spec/rails/example/controller_example_group.rb +0 -285
  81. data/lib/spec/rails/example/cookies_proxy.rb +0 -29
  82. data/lib/spec/rails/example/functional_example_group.rb +0 -106
  83. data/lib/spec/rails/example/helper_example_group.rb +0 -153
  84. data/lib/spec/rails/example/integration_example_group.rb +0 -16
  85. data/lib/spec/rails/example/model_example_group.rb +0 -15
  86. data/lib/spec/rails/example/render_observer.rb +0 -80
  87. data/lib/spec/rails/example/routing_example_group.rb +0 -16
  88. data/lib/spec/rails/example/routing_helpers.rb +0 -66
  89. data/lib/spec/rails/example/view_example_group.rb +0 -203
  90. data/lib/spec/rails/extensions.rb +0 -11
  91. data/lib/spec/rails/extensions/action_controller/rescue.rb +0 -42
  92. data/lib/spec/rails/extensions/action_controller/test_case.rb +0 -16
  93. data/lib/spec/rails/extensions/action_controller/test_response.rb +0 -21
  94. data/lib/spec/rails/extensions/action_view/base.rb +0 -35
  95. data/lib/spec/rails/extensions/active_record/base.rb +0 -45
  96. data/lib/spec/rails/extensions/active_support/test_case.rb +0 -7
  97. data/lib/spec/rails/extensions/spec/matchers/have.rb +0 -23
  98. data/lib/spec/rails/extensions/spec/runner/configuration.rb +0 -45
  99. data/lib/spec/rails/interop/testcase.rb +0 -14
  100. data/lib/spec/rails/matchers.rb +0 -32
  101. data/lib/spec/rails/matchers/ar_be_valid.rb +0 -27
  102. data/lib/spec/rails/matchers/assert_select.rb +0 -180
  103. data/lib/spec/rails/matchers/change.rb +0 -13
  104. data/lib/spec/rails/matchers/have_text.rb +0 -57
  105. data/lib/spec/rails/matchers/include_text.rb +0 -54
  106. data/lib/spec/rails/matchers/redirect_to.rb +0 -126
  107. data/lib/spec/rails/matchers/render_template.rb +0 -129
  108. data/lib/spec/rails/matchers/route_to.rb +0 -149
  109. data/lib/spec/rails/mocks.rb +0 -140
  110. data/lib/spec/rails/version.rb +0 -16
  111. data/spec/autotest/mappings_spec.rb +0 -86
  112. data/spec/rails_suite.rb +0 -7
  113. data/spec/resources/controllers/action_view_base_spec_controller.rb +0 -2
  114. data/spec/resources/controllers/application.rb +0 -9
  115. data/spec/resources/controllers/controller_spec_controller.rb +0 -127
  116. data/spec/resources/controllers/example.txt +0 -1
  117. data/spec/resources/controllers/redirect_spec_controller.rb +0 -70
  118. data/spec/resources/controllers/render_spec_controller.rb +0 -34
  119. data/spec/resources/controllers/rjs_spec_controller.rb +0 -58
  120. data/spec/resources/helpers/addition_helper.rb +0 -5
  121. data/spec/resources/helpers/explicit_helper.rb +0 -46
  122. data/spec/resources/helpers/more_explicit_helper.rb +0 -5
  123. data/spec/resources/helpers/plugin_application_helper.rb +0 -6
  124. data/spec/resources/helpers/view_spec_helper.rb +0 -13
  125. data/spec/resources/models/animal.rb +0 -4
  126. data/spec/resources/models/person.rb +0 -18
  127. data/spec/resources/models/thing.rb +0 -3
  128. data/spec/resources/views/controller_spec/_partial.html.erb +0 -0
  129. data/spec/resources/views/controller_spec/action_setting_flash_after_session_reset.html.erb +0 -1
  130. data/spec/resources/views/controller_spec/action_setting_flash_before_session_reset.html.erb +0 -1
  131. data/spec/resources/views/controller_spec/action_setting_the_assigns_hash.html.erb +0 -0
  132. data/spec/resources/views/controller_spec/action_with_errors_in_template.html.erb +0 -1
  133. data/spec/resources/views/controller_spec/action_with_template.html.erb +0 -1
  134. data/spec/resources/views/controller_spec/non_existent_action_with_existent_template.html.erb +0 -1
  135. data/spec/resources/views/layouts/application.html.erb +0 -0
  136. data/spec/resources/views/layouts/simple.html.erb +0 -0
  137. data/spec/resources/views/objects/_object.html.erb +0 -1
  138. data/spec/resources/views/render_spec/_a_partial.html.erb +0 -0
  139. data/spec/resources/views/render_spec/action_with_alternate_layout.html.erb +0 -0
  140. data/spec/resources/views/render_spec/some_action.html.erb +0 -0
  141. data/spec/resources/views/render_spec/some_action.js.rjs +0 -1
  142. data/spec/resources/views/rjs_spec/_replacement_partial.html.erb +0 -1
  143. data/spec/resources/views/rjs_spec/hide_div.js.rjs +0 -1
  144. data/spec/resources/views/rjs_spec/hide_page_element.js.rjs +0 -1
  145. data/spec/resources/views/rjs_spec/insert_html.js.rjs +0 -1
  146. data/spec/resources/views/rjs_spec/replace.js.rjs +0 -1
  147. data/spec/resources/views/rjs_spec/replace_html.js.rjs +0 -1
  148. data/spec/resources/views/rjs_spec/replace_html_with_partial.js.rjs +0 -1
  149. data/spec/resources/views/rjs_spec/visual_effect.js.rjs +0 -1
  150. data/spec/resources/views/rjs_spec/visual_toggle_effect.js.rjs +0 -1
  151. data/spec/resources/views/tag_spec/no_tags.html.erb +0 -1
  152. data/spec/resources/views/tag_spec/single_div_with_no_attributes.html.erb +0 -1
  153. data/spec/resources/views/tag_spec/single_div_with_one_attribute.html.erb +0 -1
  154. data/spec/resources/views/view_spec/_partial.html.erb +0 -2
  155. data/spec/resources/views/view_spec/_partial_used_twice.html.erb +0 -0
  156. data/spec/resources/views/view_spec/_partial_with_local_variable.html.erb +0 -1
  157. data/spec/resources/views/view_spec/_partial_with_sub_partial.html.erb +0 -1
  158. data/spec/resources/views/view_spec/_spacer.html.erb +0 -1
  159. data/spec/resources/views/view_spec/accessor.html.erb +0 -6
  160. data/spec/resources/views/view_spec/block_helper.html.erb +0 -3
  161. data/spec/resources/views/view_spec/entry_form.html.erb +0 -2
  162. data/spec/resources/views/view_spec/explicit_helper.html.erb +0 -2
  163. data/spec/resources/views/view_spec/foo/show.html.erb +0 -1
  164. data/spec/resources/views/view_spec/implicit_helper.html.erb +0 -2
  165. data/spec/resources/views/view_spec/multiple_helpers.html.erb +0 -3
  166. data/spec/resources/views/view_spec/path_params.html.erb +0 -1
  167. data/spec/resources/views/view_spec/should_not_receive.html.erb +0 -3
  168. data/spec/resources/views/view_spec/template_with_partial.html.erb +0 -5
  169. data/spec/resources/views/view_spec/template_with_partial_using_collection.html.erb +0 -3
  170. data/spec/resources/views/view_spec/template_with_partial_with_array.html.erb +0 -1
  171. data/spec/resources/views/view_spec/view_helpers.html.erb +0 -1
  172. data/spec/spec/rails/example/assigns_hash_proxy_spec.rb +0 -109
  173. data/spec/spec/rails/example/configuration_spec.rb +0 -67
  174. data/spec/spec/rails/example/controller_example_group_spec.rb +0 -307
  175. data/spec/spec/rails/example/controller_isolation_spec.rb +0 -75
  176. data/spec/spec/rails/example/cookies_proxy_spec.rb +0 -87
  177. data/spec/spec/rails/example/error_handling_spec.rb +0 -90
  178. data/spec/spec/rails/example/example_group_factory_spec.rb +0 -112
  179. data/spec/spec/rails/example/helper_example_group_spec.rb +0 -247
  180. data/spec/spec/rails/example/model_example_group_spec.rb +0 -32
  181. data/spec/spec/rails/example/routing_example_group_spec.rb +0 -9
  182. data/spec/spec/rails/example/shared_routing_example_group_examples.rb +0 -237
  183. data/spec/spec/rails/example/test_unit_assertion_accessibility_spec.rb +0 -33
  184. data/spec/spec/rails/example/view_example_group_spec.rb +0 -346
  185. data/spec/spec/rails/extensions/action_view_base_spec.rb +0 -79
  186. data/spec/spec/rails/extensions/active_record_spec.rb +0 -14
  187. data/spec/spec/rails/interop/testcase_spec.rb +0 -70
  188. data/spec/spec/rails/matchers/ar_be_valid_spec.rb +0 -19
  189. data/spec/spec/rails/matchers/assert_select_spec.rb +0 -835
  190. data/spec/spec/rails/matchers/errors_on_spec.rb +0 -37
  191. data/spec/spec/rails/matchers/have_text_spec.rb +0 -69
  192. data/spec/spec/rails/matchers/include_text_spec.rb +0 -62
  193. data/spec/spec/rails/matchers/redirect_to_spec.rb +0 -253
  194. data/spec/spec/rails/matchers/render_template_spec.rb +0 -208
  195. data/spec/spec/rails/matchers/should_change_spec.rb +0 -15
  196. data/spec/spec/rails/mocks/ar_classes.rb +0 -10
  197. data/spec/spec/rails/mocks/mock_model_spec.rb +0 -112
  198. data/spec/spec/rails/mocks/stub_model_spec.rb +0 -80
  199. data/spec/spec/rails/sample_modified_fixture.rb +0 -8
  200. data/spec/spec/rails/sample_spec.rb +0 -8
  201. data/spec/spec/rails/spec_spec.rb +0 -11
  202. data/spec/spec_helper.rb +0 -78
@@ -1,14 +1,14 @@
1
- require 'spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../../spec_helper')
2
2
 
3
3
  <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
4
- describe "/<%= table_name %>/new.<%= default_file_extension %>" do
4
+ describe "/<%= table_name %>/new.html.<%= options[:template_engine] %>" do
5
5
  include <%= controller_class_name %>Helper
6
6
 
7
7
  before(:each) do
8
8
  assigns[:<%= file_name %>] = stub_model(<%= class_name %>,
9
9
  :new_record? => true<%= output_attributes.empty? ? '' : ',' %>
10
10
  <% output_attributes.each_with_index do |attribute, attribute_index| -%>
11
- :<%= attribute.name %> => <%= attribute.default_value %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
11
+ :<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
12
12
  <% end -%>
13
13
  )
14
14
  end
@@ -2,10 +2,13 @@ require 'spec_helper'
2
2
 
3
3
  describe <%= controller_class_name %>Controller do
4
4
  describe "routing" do
5
+
6
+ <% unless options[:singleton] -%>
5
7
  it "recognizes and generates #index" do
6
8
  { :get => "/<%= table_name %>" }.should route_to(:controller => "<%= table_name %>", :action => "index")
7
9
  end
8
10
 
11
+ <% end -%>
9
12
  it "recognizes and generates #new" do
10
13
  { :get => "/<%= table_name %>/new" }.should route_to(:controller => "<%= table_name %>", :action => "new")
11
14
  end
@@ -29,5 +32,6 @@ describe <%= controller_class_name %>Controller do
29
32
  it "recognizes and generates #destroy" do
30
33
  { :delete => "/<%= table_name %>/1" }.should route_to(:controller => "<%= table_name %>", :action => "destroy", :id => "1")
31
34
  end
35
+
32
36
  end
33
37
  end
@@ -1,12 +1,12 @@
1
- require 'spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../../spec_helper')
2
2
 
3
3
  <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
4
- describe "/<%= table_name %>/show.<%= default_file_extension %>" do
4
+ describe "/<%= table_name %>/show.html.<%= options[:template_engine] %>" do
5
5
  include <%= controller_class_name %>Helper
6
6
  before(:each) do
7
7
  assigns[:<%= file_name %>] = @<%= file_name %> = stub_model(<%= class_name %><%= output_attributes.empty? ? ')' : ',' %>
8
8
  <% output_attributes.each_with_index do |attribute, attribute_index| -%>
9
- :<%= attribute.name %> => <%= attribute.default_value %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
9
+ :<%= attribute.name %> => <%= attribute.default.inspect %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
10
10
  <% end -%>
11
11
  <% if !output_attributes.empty? -%>
12
12
  )
@@ -16,7 +16,7 @@ describe "/<%= table_name %>/show.<%= default_file_extension %>" do
16
16
  it "renders attributes in <p>" do
17
17
  render
18
18
  <% for attribute in output_attributes -%>
19
- response.should have_text(/<%= Regexp.escape(attribute.default_value).gsub(/^"|"$/, '')%>/)
19
+ response.should have_text(/<%= Regexp.escape(attribute.default.inspect).gsub(/^"|"$/, '')%>/)
20
20
  <% end -%>
21
21
  end
22
22
  end
@@ -0,0 +1,2 @@
1
+ require 'rspec/rails/transactional_database_support'
2
+ require 'rspec/rails/example'
@@ -0,0 +1,2 @@
1
+ require 'rspec/rails/example/controller_example_group'
2
+ require 'rspec/rails/example/request_example_group'
@@ -0,0 +1,31 @@
1
+ require 'action_dispatch'
2
+ require 'webrat'
3
+
4
+ module ControllerExampleGroupBehaviour
5
+ include ActionDispatch::Assertions
6
+ include ActionDispatch::Integration::Runner
7
+ include Webrat::Matchers
8
+ include Webrat::Methods
9
+ include Rspec::Rails::Matchers
10
+
11
+ def self.included(mod)
12
+ mod.before { @_result = Struct.new(:add_assertion).new }
13
+ end
14
+
15
+ def app
16
+ self.class.described_class.action(@_action)
17
+ end
18
+
19
+ %w[get post put delete head].map do |method|
20
+ eval <<-CODE
21
+ def #{method}(action)
22
+ @_action = action
23
+ super '/'
24
+ end
25
+ CODE
26
+ end
27
+
28
+ Rspec::Core.configure do |c|
29
+ c.include self, :behaviour => { :file_path => /\/spec\/controllers\// }
30
+ end
31
+ end
@@ -0,0 +1,26 @@
1
+ require 'action_dispatch'
2
+ require 'webrat'
3
+
4
+ module RequestExampleGroupBehaviour
5
+ include ActionDispatch::Assertions
6
+ include ActionDispatch::Integration::Runner
7
+ include Webrat::Matchers
8
+ include Webrat::Methods
9
+ Rails.application.routes.install_helpers(self)
10
+
11
+ def app
12
+ Rails.application
13
+ end
14
+
15
+ Webrat.configure do |config|
16
+ config.mode = :rack
17
+ end
18
+
19
+ def last_response
20
+ response
21
+ end
22
+
23
+ Rspec::Core.configure do |c|
24
+ c.include self, :behaviour => { :file_path => /\/spec\/requests\// }
25
+ end
26
+ end
@@ -0,0 +1,14 @@
1
+ module Rspec
2
+ module Rails
3
+ module Matchers
4
+ def redirect_to(destination)
5
+ example = self
6
+ Rspec::Matchers::Matcher.new :redirect_to, destination do |destination_|
7
+ match do |_|
8
+ example.assert_redirected_to destination_
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,38 @@
1
+ require 'rspec/core'
2
+
3
+ module Rspec
4
+ module Rails
5
+ module TransactionalDatabaseSupport
6
+
7
+ def active_record_configured?
8
+ defined?(::ActiveRecord) && !::ActiveRecord::Base.configurations.blank?
9
+ end
10
+
11
+ def transactional_protection_start
12
+ return unless active_record_configured?
13
+
14
+ ::ActiveRecord::Base.connection.increment_open_transactions
15
+ ::ActiveRecord::Base.connection.begin_db_transaction
16
+ end
17
+
18
+ def transactional_protection_cleanup
19
+ return unless active_record_configured?
20
+
21
+ if ::ActiveRecord::Base.connection.open_transactions != 0
22
+ ::ActiveRecord::Base.connection.rollback_db_transaction
23
+ ::ActiveRecord::Base.connection.decrement_open_transactions
24
+ end
25
+
26
+ ::ActiveRecord::Base.clear_active_connections!
27
+ end
28
+
29
+ end
30
+ end
31
+ end
32
+
33
+ Rspec::Core.configure do |c|
34
+ c.include Rspec::Rails::TransactionalDatabaseSupport
35
+ c.before { transactional_protection_start }
36
+ c.after { transactional_protection_cleanup }
37
+ end
38
+
@@ -0,0 +1,16 @@
1
+ module Rspec # :nodoc:
2
+ module Rails # :nodoc:
3
+ module Version # :nodoc:
4
+ unless defined?(MAJOR)
5
+ MAJOR = 2
6
+ MINOR = 0
7
+ TINY = 0
8
+ PRE = 'a2'
9
+
10
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
11
+
12
+ SUMMARY = "rspec-core " + STRING
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,25 +1,85 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
1
4
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "spec/rails/version"
4
5
 
5
6
  Gem::Specification.new do |s|
6
- s.name = "rspec-rails"
7
- s.version = Spec::Rails::VERSION::STRING
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["RSpec Development Team"]
10
- s.email = ["rspec-devel@rubyforge.org"]
11
- s.homepage = "http://github.com/dchelimsky/rspec-rails"
12
- s.summary = Spec::Rails::VERSION::SUMMARY
13
- s.description = "Behaviour Driven Development for Ruby on Rails."
7
+ s.name = %q{rspec-rails}
8
+ s.version = "2.0.0.a2"
14
9
 
15
- s.rubyforge_project = "rspec"
16
-
17
- s.files = `git ls-files`.split("\n")
18
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["David Chelimsky", "Chad Humphries"]
12
+ s.date = %q{2010-01-24}
13
+ s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
14
+ s.extra_rdoc_files = [
15
+ "README.markdown"
16
+ ]
17
+ s.files = [
18
+ ".gitignore",
19
+ "README.markdown",
20
+ "Rakefile",
21
+ "example_app_template.rb",
22
+ "lib/generators/rspec.rb",
23
+ "lib/generators/rspec/controller/controller_generator.rb",
24
+ "lib/generators/rspec/controller/templates/controller_spec.rb",
25
+ "lib/generators/rspec/controller/templates/view_spec.rb",
26
+ "lib/generators/rspec/helper/helper_generator.rb",
27
+ "lib/generators/rspec/helper/templates/helper_spec.rb",
28
+ "lib/generators/rspec/install/install_generator.rb",
29
+ "lib/generators/rspec/install/templates/lib/tasks/rspec.rake",
30
+ "lib/generators/rspec/install/templates/script/rspec.tt",
31
+ "lib/generators/rspec/install/templates/spec/rcov.opts",
32
+ "lib/generators/rspec/install/templates/spec/spec.opts",
33
+ "lib/generators/rspec/install/templates/spec/spec_helper.rb",
34
+ "lib/generators/rspec/integration/integration_generator.rb",
35
+ "lib/generators/rspec/integration/templates/request_spec.rb",
36
+ "lib/generators/rspec/mailer/mailer_generator.rb",
37
+ "lib/generators/rspec/mailer/templates/fixture",
38
+ "lib/generators/rspec/mailer/templates/mailer_spec.rb",
39
+ "lib/generators/rspec/model/model_generator.rb",
40
+ "lib/generators/rspec/model/templates/fixtures.yml",
41
+ "lib/generators/rspec/model/templates/model_spec.rb",
42
+ "lib/generators/rspec/observer/observer_generator.rb",
43
+ "lib/generators/rspec/observer/templates/observer_spec.rb",
44
+ "lib/generators/rspec/plugin/plugin_generator.rb",
45
+ "lib/generators/rspec/plugin/templates/%file_name%_spec.rb.tt",
46
+ "lib/generators/rspec/plugin/templates/test_helper.rb",
47
+ "lib/generators/rspec/scaffold/scaffold_generator.rb",
48
+ "lib/generators/rspec/scaffold/templates/controller_spec.rb",
49
+ "lib/generators/rspec/scaffold/templates/edit_spec.rb",
50
+ "lib/generators/rspec/scaffold/templates/index_spec.rb",
51
+ "lib/generators/rspec/scaffold/templates/new_spec.rb",
52
+ "lib/generators/rspec/scaffold/templates/routing_spec.rb",
53
+ "lib/generators/rspec/scaffold/templates/show_spec.rb",
54
+ "lib/rspec/rails.rb",
55
+ "lib/rspec/rails/example.rb",
56
+ "lib/rspec/rails/example/controller_example_group.rb",
57
+ "lib/rspec/rails/example/request_example_group.rb",
58
+ "lib/rspec/rails/matchers.rb",
59
+ "lib/rspec/rails/transactional_database_support.rb",
60
+ "lib/rspec/rails/version.rb",
61
+ "rspec-rails.gemspec"
62
+ ]
63
+ s.homepage = %q{http://github.com/rspec/rspec-rails}
64
+ s.rdoc_options = ["--charset=UTF-8"]
20
65
  s.require_paths = ["lib"]
66
+ s.rubygems_version = %q{1.3.5}
67
+ s.summary = %q{Rspec-2 for Rails-3}
68
+
69
+ if s.respond_to? :specification_version then
70
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
71
+ s.specification_version = 3
21
72
 
22
- s.add_dependency "rspec", "~> 1.3.1"
23
- s.add_dependency "rack", ">= 1.0.0"
24
- s.add_development_dependency "cucumber",">= 0.3.99"
73
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
74
+ s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.a2"])
75
+ s.add_runtime_dependency(%q<webrat>, ["= 0.7.0"])
76
+ else
77
+ s.add_dependency(%q<rspec>, [">= 2.0.0.a2"])
78
+ s.add_dependency(%q<webrat>, ["= 0.7.0"])
79
+ end
80
+ else
81
+ s.add_dependency(%q<rspec>, [">= 2.0.0.a2"])
82
+ s.add_dependency(%q<webrat>, ["= 0.7.0"])
83
+ end
25
84
  end
85
+
metadata CHANGED
@@ -1,342 +1,118 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.4
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.a2
6
5
  platform: ruby
7
- authors:
8
- - RSpec Development Team
6
+ authors:
7
+ - David Chelimsky
8
+ - Chad Humphries
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-04-11 00:00:00.000000000 -05:00
12
+
13
+ date: 2010-01-24 00:00:00 -06:00
13
14
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
16
17
  name: rspec
17
- requirement: &2161367300 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: 1.3.1
23
18
  type: :runtime
24
- prerelease: false
25
- version_requirements: *2161367300
26
- - !ruby/object:Gem::Dependency
27
- name: rack
28
- requirement: &2161366800 !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: 1.0.0
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 2.0.0.a2
25
+ version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: webrat
34
28
  type: :runtime
35
- prerelease: false
36
- version_requirements: *2161366800
37
- - !ruby/object:Gem::Dependency
38
- name: cucumber
39
- requirement: &2161366340 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: 0.3.99
45
- type: :development
46
- prerelease: false
47
- version_requirements: *2161366340
48
- description: Behaviour Driven Development for Ruby on Rails.
49
- email:
50
- - rspec-devel@rubyforge.org
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "="
33
+ - !ruby/object:Gem::Version
34
+ version: 0.7.0
35
+ version:
36
+ description:
37
+ email: dchelimsky@gmail.com;chad.humphries@gmail.com
51
38
  executables: []
39
+
52
40
  extensions: []
53
- extra_rdoc_files: []
54
- files:
55
- - .document
41
+
42
+ extra_rdoc_files:
43
+ - README.markdown
44
+ files:
56
45
  - .gitignore
57
- - Contribute.rdoc
58
- - Gemfile
59
- - Gemfile.lock
60
- - History.rdoc
61
- - License.txt
62
- - Manifest.txt
63
- - README.rdoc
46
+ - README.markdown
64
47
  - Rakefile
65
- - TODO.txt
66
- - Upgrade.rdoc
67
- - generators/integration_spec/integration_spec_generator.rb
68
- - generators/integration_spec/templates/integration_spec.rb
69
- - generators/rspec/CHANGES
70
- - generators/rspec/rspec_generator.rb
71
- - generators/rspec/templates/previous_failures.txt
72
- - generators/rspec/templates/rcov.opts
73
- - generators/rspec/templates/rspec.rake
74
- - generators/rspec/templates/script/autospec
75
- - generators/rspec/templates/script/spec
76
- - generators/rspec/templates/spec.opts
77
- - generators/rspec/templates/spec_helper.rb
78
- - generators/rspec_controller/USAGE
79
- - generators/rspec_controller/rspec_controller_generator.rb
80
- - generators/rspec_controller/templates/controller_spec.rb
81
- - generators/rspec_controller/templates/helper_spec.rb
82
- - generators/rspec_controller/templates/view_spec.rb
83
- - generators/rspec_default_values.rb
84
- - generators/rspec_model/USAGE
85
- - generators/rspec_model/rspec_model_generator.rb
86
- - generators/rspec_model/templates/model_spec.rb
87
- - generators/rspec_scaffold/rspec_scaffold_generator.rb
88
- - generators/rspec_scaffold/templates/controller_spec.rb
89
- - generators/rspec_scaffold/templates/edit_erb_spec.rb
90
- - generators/rspec_scaffold/templates/helper_spec.rb
91
- - generators/rspec_scaffold/templates/index_erb_spec.rb
92
- - generators/rspec_scaffold/templates/new_erb_spec.rb
93
- - generators/rspec_scaffold/templates/routing_spec.rb
94
- - generators/rspec_scaffold/templates/show_erb_spec.rb
95
- - init.rb
96
- - lib/autotest/discover.rb
97
- - lib/autotest/rails_rspec.rb
98
- - lib/spec/rails.rb
99
- - lib/spec/rails/example.rb
100
- - lib/spec/rails/example/assigns_hash_proxy.rb
101
- - lib/spec/rails/example/controller_example_group.rb
102
- - lib/spec/rails/example/cookies_proxy.rb
103
- - lib/spec/rails/example/functional_example_group.rb
104
- - lib/spec/rails/example/helper_example_group.rb
105
- - lib/spec/rails/example/integration_example_group.rb
106
- - lib/spec/rails/example/model_example_group.rb
107
- - lib/spec/rails/example/render_observer.rb
108
- - lib/spec/rails/example/routing_example_group.rb
109
- - lib/spec/rails/example/routing_helpers.rb
110
- - lib/spec/rails/example/view_example_group.rb
111
- - lib/spec/rails/extensions.rb
112
- - lib/spec/rails/extensions/action_controller/rescue.rb
113
- - lib/spec/rails/extensions/action_controller/test_case.rb
114
- - lib/spec/rails/extensions/action_controller/test_response.rb
115
- - lib/spec/rails/extensions/action_view/base.rb
116
- - lib/spec/rails/extensions/active_record/base.rb
117
- - lib/spec/rails/extensions/active_support/test_case.rb
118
- - lib/spec/rails/extensions/spec/matchers/have.rb
119
- - lib/spec/rails/extensions/spec/runner/configuration.rb
120
- - lib/spec/rails/interop/testcase.rb
121
- - lib/spec/rails/matchers.rb
122
- - lib/spec/rails/matchers/ar_be_valid.rb
123
- - lib/spec/rails/matchers/assert_select.rb
124
- - lib/spec/rails/matchers/change.rb
125
- - lib/spec/rails/matchers/have_text.rb
126
- - lib/spec/rails/matchers/include_text.rb
127
- - lib/spec/rails/matchers/redirect_to.rb
128
- - lib/spec/rails/matchers/render_template.rb
129
- - lib/spec/rails/matchers/route_to.rb
130
- - lib/spec/rails/mocks.rb
131
- - lib/spec/rails/version.rb
48
+ - example_app_template.rb
49
+ - lib/generators/rspec.rb
50
+ - lib/generators/rspec/controller/controller_generator.rb
51
+ - lib/generators/rspec/controller/templates/controller_spec.rb
52
+ - lib/generators/rspec/controller/templates/view_spec.rb
53
+ - lib/generators/rspec/helper/helper_generator.rb
54
+ - lib/generators/rspec/helper/templates/helper_spec.rb
55
+ - lib/generators/rspec/install/install_generator.rb
56
+ - lib/generators/rspec/install/templates/lib/tasks/rspec.rake
57
+ - lib/generators/rspec/install/templates/script/rspec.tt
58
+ - lib/generators/rspec/install/templates/spec/rcov.opts
59
+ - lib/generators/rspec/install/templates/spec/spec.opts
60
+ - lib/generators/rspec/install/templates/spec/spec_helper.rb
61
+ - lib/generators/rspec/integration/integration_generator.rb
62
+ - lib/generators/rspec/integration/templates/request_spec.rb
63
+ - lib/generators/rspec/mailer/mailer_generator.rb
64
+ - lib/generators/rspec/mailer/templates/fixture
65
+ - lib/generators/rspec/mailer/templates/mailer_spec.rb
66
+ - lib/generators/rspec/model/model_generator.rb
67
+ - lib/generators/rspec/model/templates/fixtures.yml
68
+ - lib/generators/rspec/model/templates/model_spec.rb
69
+ - lib/generators/rspec/observer/observer_generator.rb
70
+ - lib/generators/rspec/observer/templates/observer_spec.rb
71
+ - lib/generators/rspec/plugin/plugin_generator.rb
72
+ - lib/generators/rspec/plugin/templates/%file_name%_spec.rb.tt
73
+ - lib/generators/rspec/plugin/templates/test_helper.rb
74
+ - lib/generators/rspec/scaffold/scaffold_generator.rb
75
+ - lib/generators/rspec/scaffold/templates/controller_spec.rb
76
+ - lib/generators/rspec/scaffold/templates/edit_spec.rb
77
+ - lib/generators/rspec/scaffold/templates/index_spec.rb
78
+ - lib/generators/rspec/scaffold/templates/new_spec.rb
79
+ - lib/generators/rspec/scaffold/templates/routing_spec.rb
80
+ - lib/generators/rspec/scaffold/templates/show_spec.rb
81
+ - lib/rspec/rails.rb
82
+ - lib/rspec/rails/example.rb
83
+ - lib/rspec/rails/example/controller_example_group.rb
84
+ - lib/rspec/rails/example/request_example_group.rb
85
+ - lib/rspec/rails/matchers.rb
86
+ - lib/rspec/rails/transactional_database_support.rb
87
+ - lib/rspec/rails/version.rb
132
88
  - rspec-rails.gemspec
133
- - spec/autotest/mappings_spec.rb
134
- - spec/rails_suite.rb
135
- - spec/resources/controllers/action_view_base_spec_controller.rb
136
- - spec/resources/controllers/application.rb
137
- - spec/resources/controllers/controller_spec_controller.rb
138
- - spec/resources/controllers/example.txt
139
- - spec/resources/controllers/redirect_spec_controller.rb
140
- - spec/resources/controllers/render_spec_controller.rb
141
- - spec/resources/controllers/rjs_spec_controller.rb
142
- - spec/resources/helpers/addition_helper.rb
143
- - spec/resources/helpers/explicit_helper.rb
144
- - spec/resources/helpers/more_explicit_helper.rb
145
- - spec/resources/helpers/plugin_application_helper.rb
146
- - spec/resources/helpers/view_spec_helper.rb
147
- - spec/resources/models/animal.rb
148
- - spec/resources/models/person.rb
149
- - spec/resources/models/thing.rb
150
- - spec/resources/views/controller_spec/_partial.html.erb
151
- - spec/resources/views/controller_spec/action_setting_flash_after_session_reset.html.erb
152
- - spec/resources/views/controller_spec/action_setting_flash_before_session_reset.html.erb
153
- - spec/resources/views/controller_spec/action_setting_the_assigns_hash.html.erb
154
- - spec/resources/views/controller_spec/action_with_errors_in_template.html.erb
155
- - spec/resources/views/controller_spec/action_with_template.html.erb
156
- - spec/resources/views/controller_spec/non_existent_action_with_existent_template.html.erb
157
- - spec/resources/views/layouts/application.html.erb
158
- - spec/resources/views/layouts/simple.html.erb
159
- - spec/resources/views/objects/_object.html.erb
160
- - spec/resources/views/render_spec/_a_partial.html.erb
161
- - spec/resources/views/render_spec/action_with_alternate_layout.html.erb
162
- - spec/resources/views/render_spec/some_action.html.erb
163
- - spec/resources/views/render_spec/some_action.js.rjs
164
- - spec/resources/views/rjs_spec/_replacement_partial.html.erb
165
- - spec/resources/views/rjs_spec/hide_div.js.rjs
166
- - spec/resources/views/rjs_spec/hide_page_element.js.rjs
167
- - spec/resources/views/rjs_spec/insert_html.js.rjs
168
- - spec/resources/views/rjs_spec/replace.js.rjs
169
- - spec/resources/views/rjs_spec/replace_html.js.rjs
170
- - spec/resources/views/rjs_spec/replace_html_with_partial.js.rjs
171
- - spec/resources/views/rjs_spec/visual_effect.js.rjs
172
- - spec/resources/views/rjs_spec/visual_toggle_effect.js.rjs
173
- - spec/resources/views/tag_spec/no_tags.html.erb
174
- - spec/resources/views/tag_spec/single_div_with_no_attributes.html.erb
175
- - spec/resources/views/tag_spec/single_div_with_one_attribute.html.erb
176
- - spec/resources/views/view_spec/_partial.html.erb
177
- - spec/resources/views/view_spec/_partial_used_twice.html.erb
178
- - spec/resources/views/view_spec/_partial_with_local_variable.html.erb
179
- - spec/resources/views/view_spec/_partial_with_sub_partial.html.erb
180
- - spec/resources/views/view_spec/_spacer.html.erb
181
- - spec/resources/views/view_spec/accessor.html.erb
182
- - spec/resources/views/view_spec/block_helper.html.erb
183
- - spec/resources/views/view_spec/entry_form.html.erb
184
- - spec/resources/views/view_spec/explicit_helper.html.erb
185
- - spec/resources/views/view_spec/foo/show.html.erb
186
- - spec/resources/views/view_spec/implicit_helper.html.erb
187
- - spec/resources/views/view_spec/multiple_helpers.html.erb
188
- - spec/resources/views/view_spec/path_params.html.erb
189
- - spec/resources/views/view_spec/should_not_receive.html.erb
190
- - spec/resources/views/view_spec/template_with_partial.html.erb
191
- - spec/resources/views/view_spec/template_with_partial_using_collection.html.erb
192
- - spec/resources/views/view_spec/template_with_partial_with_array.html.erb
193
- - spec/resources/views/view_spec/view_helpers.html.erb
194
- - spec/spec/rails/example/assigns_hash_proxy_spec.rb
195
- - spec/spec/rails/example/configuration_spec.rb
196
- - spec/spec/rails/example/controller_example_group_spec.rb
197
- - spec/spec/rails/example/controller_isolation_spec.rb
198
- - spec/spec/rails/example/cookies_proxy_spec.rb
199
- - spec/spec/rails/example/error_handling_spec.rb
200
- - spec/spec/rails/example/example_group_factory_spec.rb
201
- - spec/spec/rails/example/helper_example_group_spec.rb
202
- - spec/spec/rails/example/model_example_group_spec.rb
203
- - spec/spec/rails/example/routing_example_group_spec.rb
204
- - spec/spec/rails/example/shared_routing_example_group_examples.rb
205
- - spec/spec/rails/example/test_unit_assertion_accessibility_spec.rb
206
- - spec/spec/rails/example/view_example_group_spec.rb
207
- - spec/spec/rails/extensions/action_view_base_spec.rb
208
- - spec/spec/rails/extensions/active_record_spec.rb
209
- - spec/spec/rails/interop/testcase_spec.rb
210
- - spec/spec/rails/matchers/ar_be_valid_spec.rb
211
- - spec/spec/rails/matchers/assert_select_spec.rb
212
- - spec/spec/rails/matchers/errors_on_spec.rb
213
- - spec/spec/rails/matchers/have_text_spec.rb
214
- - spec/spec/rails/matchers/include_text_spec.rb
215
- - spec/spec/rails/matchers/redirect_to_spec.rb
216
- - spec/spec/rails/matchers/render_template_spec.rb
217
- - spec/spec/rails/matchers/should_change_spec.rb
218
- - spec/spec/rails/mocks/ar_classes.rb
219
- - spec/spec/rails/mocks/mock_model_spec.rb
220
- - spec/spec/rails/mocks/stub_model_spec.rb
221
- - spec/spec/rails/sample_modified_fixture.rb
222
- - spec/spec/rails/sample_spec.rb
223
- - spec/spec/rails/spec_spec.rb
224
- - spec/spec_helper.rb
225
89
  has_rdoc: true
226
- homepage: http://github.com/dchelimsky/rspec-rails
90
+ homepage: http://github.com/rspec/rspec-rails
227
91
  licenses: []
92
+
228
93
  post_install_message:
229
- rdoc_options: []
230
- require_paths:
94
+ rdoc_options:
95
+ - --charset=UTF-8
96
+ require_paths:
231
97
  - lib
232
- required_ruby_version: !ruby/object:Gem::Requirement
233
- none: false
234
- requirements:
235
- - - ! '>='
236
- - !ruby/object:Gem::Version
237
- version: '0'
238
- required_rubygems_version: !ruby/object:Gem::Requirement
239
- none: false
240
- requirements:
241
- - - ! '>='
242
- - !ruby/object:Gem::Version
243
- version: '0'
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: "0"
103
+ version:
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">"
107
+ - !ruby/object:Gem::Version
108
+ version: 1.3.1
109
+ version:
244
110
  requirements: []
245
- rubyforge_project: rspec
246
- rubygems_version: 1.5.2
111
+
112
+ rubyforge_project:
113
+ rubygems_version: 1.3.5
247
114
  signing_key:
248
115
  specification_version: 3
249
- summary: rspec-rails 1.3.4
250
- test_files:
251
- - spec/autotest/mappings_spec.rb
252
- - spec/rails_suite.rb
253
- - spec/resources/controllers/action_view_base_spec_controller.rb
254
- - spec/resources/controllers/application.rb
255
- - spec/resources/controllers/controller_spec_controller.rb
256
- - spec/resources/controllers/example.txt
257
- - spec/resources/controllers/redirect_spec_controller.rb
258
- - spec/resources/controllers/render_spec_controller.rb
259
- - spec/resources/controllers/rjs_spec_controller.rb
260
- - spec/resources/helpers/addition_helper.rb
261
- - spec/resources/helpers/explicit_helper.rb
262
- - spec/resources/helpers/more_explicit_helper.rb
263
- - spec/resources/helpers/plugin_application_helper.rb
264
- - spec/resources/helpers/view_spec_helper.rb
265
- - spec/resources/models/animal.rb
266
- - spec/resources/models/person.rb
267
- - spec/resources/models/thing.rb
268
- - spec/resources/views/controller_spec/_partial.html.erb
269
- - spec/resources/views/controller_spec/action_setting_flash_after_session_reset.html.erb
270
- - spec/resources/views/controller_spec/action_setting_flash_before_session_reset.html.erb
271
- - spec/resources/views/controller_spec/action_setting_the_assigns_hash.html.erb
272
- - spec/resources/views/controller_spec/action_with_errors_in_template.html.erb
273
- - spec/resources/views/controller_spec/action_with_template.html.erb
274
- - spec/resources/views/controller_spec/non_existent_action_with_existent_template.html.erb
275
- - spec/resources/views/layouts/application.html.erb
276
- - spec/resources/views/layouts/simple.html.erb
277
- - spec/resources/views/objects/_object.html.erb
278
- - spec/resources/views/render_spec/_a_partial.html.erb
279
- - spec/resources/views/render_spec/action_with_alternate_layout.html.erb
280
- - spec/resources/views/render_spec/some_action.html.erb
281
- - spec/resources/views/render_spec/some_action.js.rjs
282
- - spec/resources/views/rjs_spec/_replacement_partial.html.erb
283
- - spec/resources/views/rjs_spec/hide_div.js.rjs
284
- - spec/resources/views/rjs_spec/hide_page_element.js.rjs
285
- - spec/resources/views/rjs_spec/insert_html.js.rjs
286
- - spec/resources/views/rjs_spec/replace.js.rjs
287
- - spec/resources/views/rjs_spec/replace_html.js.rjs
288
- - spec/resources/views/rjs_spec/replace_html_with_partial.js.rjs
289
- - spec/resources/views/rjs_spec/visual_effect.js.rjs
290
- - spec/resources/views/rjs_spec/visual_toggle_effect.js.rjs
291
- - spec/resources/views/tag_spec/no_tags.html.erb
292
- - spec/resources/views/tag_spec/single_div_with_no_attributes.html.erb
293
- - spec/resources/views/tag_spec/single_div_with_one_attribute.html.erb
294
- - spec/resources/views/view_spec/_partial.html.erb
295
- - spec/resources/views/view_spec/_partial_used_twice.html.erb
296
- - spec/resources/views/view_spec/_partial_with_local_variable.html.erb
297
- - spec/resources/views/view_spec/_partial_with_sub_partial.html.erb
298
- - spec/resources/views/view_spec/_spacer.html.erb
299
- - spec/resources/views/view_spec/accessor.html.erb
300
- - spec/resources/views/view_spec/block_helper.html.erb
301
- - spec/resources/views/view_spec/entry_form.html.erb
302
- - spec/resources/views/view_spec/explicit_helper.html.erb
303
- - spec/resources/views/view_spec/foo/show.html.erb
304
- - spec/resources/views/view_spec/implicit_helper.html.erb
305
- - spec/resources/views/view_spec/multiple_helpers.html.erb
306
- - spec/resources/views/view_spec/path_params.html.erb
307
- - spec/resources/views/view_spec/should_not_receive.html.erb
308
- - spec/resources/views/view_spec/template_with_partial.html.erb
309
- - spec/resources/views/view_spec/template_with_partial_using_collection.html.erb
310
- - spec/resources/views/view_spec/template_with_partial_with_array.html.erb
311
- - spec/resources/views/view_spec/view_helpers.html.erb
312
- - spec/spec/rails/example/assigns_hash_proxy_spec.rb
313
- - spec/spec/rails/example/configuration_spec.rb
314
- - spec/spec/rails/example/controller_example_group_spec.rb
315
- - spec/spec/rails/example/controller_isolation_spec.rb
316
- - spec/spec/rails/example/cookies_proxy_spec.rb
317
- - spec/spec/rails/example/error_handling_spec.rb
318
- - spec/spec/rails/example/example_group_factory_spec.rb
319
- - spec/spec/rails/example/helper_example_group_spec.rb
320
- - spec/spec/rails/example/model_example_group_spec.rb
321
- - spec/spec/rails/example/routing_example_group_spec.rb
322
- - spec/spec/rails/example/shared_routing_example_group_examples.rb
323
- - spec/spec/rails/example/test_unit_assertion_accessibility_spec.rb
324
- - spec/spec/rails/example/view_example_group_spec.rb
325
- - spec/spec/rails/extensions/action_view_base_spec.rb
326
- - spec/spec/rails/extensions/active_record_spec.rb
327
- - spec/spec/rails/interop/testcase_spec.rb
328
- - spec/spec/rails/matchers/ar_be_valid_spec.rb
329
- - spec/spec/rails/matchers/assert_select_spec.rb
330
- - spec/spec/rails/matchers/errors_on_spec.rb
331
- - spec/spec/rails/matchers/have_text_spec.rb
332
- - spec/spec/rails/matchers/include_text_spec.rb
333
- - spec/spec/rails/matchers/redirect_to_spec.rb
334
- - spec/spec/rails/matchers/render_template_spec.rb
335
- - spec/spec/rails/matchers/should_change_spec.rb
336
- - spec/spec/rails/mocks/ar_classes.rb
337
- - spec/spec/rails/mocks/mock_model_spec.rb
338
- - spec/spec/rails/mocks/stub_model_spec.rb
339
- - spec/spec/rails/sample_modified_fixture.rb
340
- - spec/spec/rails/sample_spec.rb
341
- - spec/spec/rails/spec_spec.rb
342
- - spec/spec_helper.rb
116
+ summary: Rspec-2 for Rails-3
117
+ test_files: []
118
+