rspec-rails 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +27 -0
- data/History.rdoc +7 -0
- data/Rakefile +2 -60
- data/lib/spec/rails/version.rb +1 -1
- data/rspec-rails.gemspec +25 -0
- data/spec/resources/views/controller_spec/non_existent_action_with_existent_template.html.erb +1 -0
- metadata +144 -108
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rspec-rails (0.0.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
builder (3.0.0)
|
10
|
+
cucumber (0.10.0)
|
11
|
+
builder (>= 2.1.2)
|
12
|
+
diff-lcs (~> 1.1.2)
|
13
|
+
gherkin (~> 2.3.2)
|
14
|
+
json (~> 1.4.6)
|
15
|
+
term-ansicolor (~> 1.0.5)
|
16
|
+
diff-lcs (1.1.2)
|
17
|
+
gherkin (2.3.3)
|
18
|
+
json (~> 1.4.6)
|
19
|
+
json (1.4.6)
|
20
|
+
term-ansicolor (1.0.5)
|
21
|
+
|
22
|
+
PLATFORMS
|
23
|
+
ruby
|
24
|
+
|
25
|
+
DEPENDENCIES
|
26
|
+
cucumber (>= 0.3.99)
|
27
|
+
rspec-rails!
|
data/History.rdoc
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== Version 1.3.4 / 2011-04-11
|
2
|
+
|
3
|
+
* No new code
|
4
|
+
* Depends on rspec ~> 1.3.2
|
5
|
+
* rspec-rails 1.3.3 depended on rspec-1.3.1 explicitly, so this
|
6
|
+
release allows you to upgrade to rspec-1.3.2 with rspec-rails.
|
7
|
+
|
1
8
|
=== Version 1.3.3 / 2010-10-09
|
2
9
|
|
3
10
|
* enhancements
|
data/Rakefile
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'hoe'
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
4
3
|
|
5
4
|
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__),"..","rspec","lib")))
|
6
5
|
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__),"lib")))
|
@@ -9,64 +8,7 @@ require 'spec/rails/version'
|
|
9
8
|
require 'spec/rake/spectask'
|
10
9
|
require 'cucumber/rake/task'
|
11
10
|
|
12
|
-
Hoe.spec 'rspec-rails' do
|
13
|
-
self.version = Spec::Rails::VERSION::STRING
|
14
|
-
self.summary = Spec::Rails::VERSION::SUMMARY
|
15
|
-
self.description = "Behaviour Driven Development for Ruby on Rails."
|
16
|
-
self.rubyforge_name = 'rspec'
|
17
|
-
self.developer 'RSpec Development Team', 'rspec-devel@rubyforge.org'
|
18
|
-
self.extra_deps = [["rspec","1.3.1"],["rack",">=1.0.0"]]
|
19
|
-
self.extra_dev_deps = [["cucumber",">= 0.3.99"]]
|
20
|
-
self.remote_rdoc_dir = "rspec-rails/#{Spec::Rails::VERSION::STRING}"
|
21
|
-
self.history_file = 'History.rdoc'
|
22
|
-
self.readme_file = 'README.rdoc'
|
23
|
-
self.post_install_message = <<-POST_INSTALL_MESSAGE
|
24
|
-
#{'*'*50}
|
25
|
-
|
26
|
-
Thank you for installing rspec-rails-#{Spec::Rails::VERSION::STRING}
|
27
|
-
|
28
|
-
If you are upgrading, do this in each of your rails apps
|
29
|
-
that you want to upgrade:
|
30
|
-
|
31
|
-
$ ruby script/generate rspec
|
32
|
-
|
33
|
-
Please be sure to read History.rdoc and Upgrade.rdoc
|
34
|
-
for useful information about this release.
|
35
|
-
|
36
|
-
#{'*'*50}
|
37
|
-
POST_INSTALL_MESSAGE
|
38
|
-
end
|
39
|
-
|
40
|
-
['audit','test','test_deps','default','post_blog', 'release'].each do |task|
|
41
|
-
Rake.application.instance_variable_get('@tasks').delete(task)
|
42
|
-
end
|
43
|
-
|
44
|
-
task :post_blog do
|
45
|
-
# no-op
|
46
|
-
end
|
47
|
-
|
48
|
-
task :release => [:clean, :package] do |t|
|
49
|
-
version = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
|
50
|
-
abort "Versions don't match #{version} vs #{Spec::Rails::VERSION::STRING}" unless version == Spec::Rails::VERSION::STRING
|
51
|
-
pkg = "pkg/rspec-rails-#{version}"
|
52
|
-
|
53
|
-
rubyforge = RubyForge.new.configure
|
54
|
-
puts "Logging in to rubyforge ..."
|
55
|
-
rubyforge.login
|
56
|
-
|
57
|
-
puts "Releasing rspec-rails version #{version} ..."
|
58
|
-
["#{pkg}.gem", "#{pkg}.tgz"].each do |file|
|
59
|
-
rubyforge.add_file('rspec', 'rspec', Spec::Rails::VERSION::STRING, file)
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
11
|
Cucumber::Rake::Task.new
|
64
12
|
|
65
13
|
task :default => [:features]
|
66
14
|
|
67
|
-
namespace :update do
|
68
|
-
desc "update the manifest"
|
69
|
-
task :manifest do
|
70
|
-
system %q[touch Manifest.txt; rake check_manifest | grep -v "(in " | patch]
|
71
|
-
end
|
72
|
-
end
|
data/lib/spec/rails/version.rb
CHANGED
data/rspec-rails.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "spec/rails/version"
|
4
|
+
|
5
|
+
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."
|
14
|
+
|
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) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
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"
|
25
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<%- raise "THIS TEMPLATE SHOULD NOT BE RENDERED" -%>
|
metadata
CHANGED
@@ -1,97 +1,62 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 3
|
8
|
-
- 3
|
9
|
-
version: 1.3.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.4
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- RSpec Development Team
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2010-10-09 00:00:00 -05:00
|
12
|
+
date: 2011-04-11 00:00:00.000000000 -05:00
|
18
13
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
21
16
|
name: rspec
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &2161367300 !ruby/object:Gem::Requirement
|
24
18
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 1
|
30
|
-
- 3
|
31
|
-
- 1
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
32
22
|
version: 1.3.1
|
33
23
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rack
|
37
24
|
prerelease: false
|
38
|
-
|
25
|
+
version_requirements: *2161367300
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rack
|
28
|
+
requirement: &2161366800 !ruby/object:Gem::Requirement
|
39
29
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 1
|
45
|
-
- 0
|
46
|
-
- 0
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
47
33
|
version: 1.0.0
|
48
34
|
type: :runtime
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: cucumber
|
52
35
|
prerelease: false
|
53
|
-
|
36
|
+
version_requirements: *2161366800
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: cucumber
|
39
|
+
requirement: &2161366340 !ruby/object:Gem::Requirement
|
54
40
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 3
|
61
|
-
- 99
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
62
44
|
version: 0.3.99
|
63
45
|
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: hoe
|
67
46
|
prerelease: false
|
68
|
-
|
69
|
-
none: false
|
70
|
-
requirements:
|
71
|
-
- - ">="
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
segments:
|
74
|
-
- 2
|
75
|
-
- 6
|
76
|
-
- 2
|
77
|
-
version: 2.6.2
|
78
|
-
type: :development
|
79
|
-
version_requirements: *id004
|
47
|
+
version_requirements: *2161366340
|
80
48
|
description: Behaviour Driven Development for Ruby on Rails.
|
81
|
-
email:
|
49
|
+
email:
|
82
50
|
- rspec-devel@rubyforge.org
|
83
51
|
executables: []
|
84
|
-
|
85
52
|
extensions: []
|
86
|
-
|
87
|
-
|
88
|
-
- License.txt
|
89
|
-
- Manifest.txt
|
90
|
-
- TODO.txt
|
91
|
-
- generators/rspec/templates/previous_failures.txt
|
92
|
-
files:
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
93
55
|
- .document
|
56
|
+
- .gitignore
|
94
57
|
- Contribute.rdoc
|
58
|
+
- Gemfile
|
59
|
+
- Gemfile.lock
|
95
60
|
- History.rdoc
|
96
61
|
- License.txt
|
97
62
|
- Manifest.txt
|
@@ -164,6 +129,7 @@ files:
|
|
164
129
|
- lib/spec/rails/matchers/route_to.rb
|
165
130
|
- lib/spec/rails/mocks.rb
|
166
131
|
- lib/spec/rails/version.rb
|
132
|
+
- rspec-rails.gemspec
|
167
133
|
- spec/autotest/mappings_spec.rb
|
168
134
|
- spec/rails_suite.rb
|
169
135
|
- spec/resources/controllers/action_view_base_spec_controller.rb
|
@@ -187,6 +153,7 @@ files:
|
|
187
153
|
- spec/resources/views/controller_spec/action_setting_the_assigns_hash.html.erb
|
188
154
|
- spec/resources/views/controller_spec/action_with_errors_in_template.html.erb
|
189
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
|
190
157
|
- spec/resources/views/layouts/application.html.erb
|
191
158
|
- spec/resources/views/layouts/simple.html.erb
|
192
159
|
- spec/resources/views/objects/_object.html.erb
|
@@ -256,51 +223,120 @@ files:
|
|
256
223
|
- spec/spec/rails/spec_spec.rb
|
257
224
|
- spec/spec_helper.rb
|
258
225
|
has_rdoc: true
|
259
|
-
homepage: http://rspec
|
226
|
+
homepage: http://github.com/dchelimsky/rspec-rails
|
260
227
|
licenses: []
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
Thank you for installing rspec-rails-1.3.3
|
266
|
-
|
267
|
-
If you are upgrading, do this in each of your rails apps
|
268
|
-
that you want to upgrade:
|
269
|
-
|
270
|
-
$ ruby script/generate rspec
|
271
|
-
|
272
|
-
Please be sure to read History.rdoc and Upgrade.rdoc
|
273
|
-
for useful information about this release.
|
274
|
-
|
275
|
-
**************************************************
|
276
|
-
|
277
|
-
rdoc_options:
|
278
|
-
- --main
|
279
|
-
- README.rdoc
|
280
|
-
require_paths:
|
228
|
+
post_install_message:
|
229
|
+
rdoc_options: []
|
230
|
+
require_paths:
|
281
231
|
- lib
|
282
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
283
233
|
none: false
|
284
|
-
requirements:
|
285
|
-
- -
|
286
|
-
- !ruby/object:Gem::Version
|
287
|
-
|
288
|
-
|
289
|
-
version: "0"
|
290
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
239
|
none: false
|
292
|
-
requirements:
|
293
|
-
- -
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
|
296
|
-
- 0
|
297
|
-
version: "0"
|
240
|
+
requirements:
|
241
|
+
- - ! '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
298
244
|
requirements: []
|
299
|
-
|
300
245
|
rubyforge_project: rspec
|
301
|
-
rubygems_version: 1.
|
246
|
+
rubygems_version: 1.5.2
|
302
247
|
signing_key:
|
303
248
|
specification_version: 3
|
304
|
-
summary: rspec-rails 1.3.
|
305
|
-
test_files:
|
306
|
-
|
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
|