shoulda-matchers 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/features/rails_integration.feature +2 -2
- data/features/step_definitions/rails_steps.rb +4 -2
- data/gemfiles/3.0.gemfile.lock +1 -1
- data/gemfiles/3.1.gemfile.lock +1 -1
- data/gemfiles/3.2.gemfile.lock +1 -1
- data/lib/shoulda/matchers/integrations/rspec.rb +1 -1
- data/lib/shoulda/matchers/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -62,7 +62,7 @@ Feature: integrate with Rails
|
|
62
62
|
And the output should contain "ExamplesController should assign @example"
|
63
63
|
|
64
64
|
Scenario: generate a rails application and use matchers in Rspec
|
65
|
-
When I configure the application to use rspec-rails
|
65
|
+
When I configure the application to use rspec and rspec-rails
|
66
66
|
And I configure the application to use "shoulda-matchers" from this project
|
67
67
|
And I run the rspec generator
|
68
68
|
And I write to "spec/models/user_spec.rb" with:
|
@@ -88,7 +88,7 @@ Feature: integrate with Rails
|
|
88
88
|
And the output should contain "should assign @example"
|
89
89
|
|
90
90
|
Scenario: generate a Rails application that mixes Rspec and Test::Unit
|
91
|
-
When I configure the application to use rspec-rails in test and development
|
91
|
+
When I configure the application to use rspec and rspec-rails in test and development
|
92
92
|
And I configure the application to use "shoulda-matchers" from this project in test and development
|
93
93
|
And I run the rspec generator
|
94
94
|
And I write to "spec/models/user_spec.rb" with:
|
@@ -52,14 +52,16 @@ When 'I run the rspec generator' do
|
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
|
-
When 'I configure the application to use rspec-rails' do
|
55
|
+
When 'I configure the application to use rspec and rspec-rails' do
|
56
|
+
append_to_gemfile %q(gem 'rspec', '~> 2.13')
|
56
57
|
append_to_gemfile %q(gem 'rspec-rails', '~> 2.13')
|
57
58
|
steps %{And I run `bundle install --local`}
|
58
59
|
end
|
59
60
|
|
60
|
-
When 'I configure the application to use rspec-rails in test and development' do
|
61
|
+
When 'I configure the application to use rspec and rspec-rails in test and development' do
|
61
62
|
append_to_gemfile <<-GEMFILE
|
62
63
|
group :test, :development do
|
64
|
+
gem 'rspec', '~> 2.13'
|
63
65
|
gem 'rspec-rails', '~> 2.13'
|
64
66
|
end
|
65
67
|
GEMFILE
|
data/gemfiles/3.0.gemfile.lock
CHANGED
data/gemfiles/3.1.gemfile.lock
CHANGED
data/gemfiles/3.2.gemfile.lock
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -325,7 +325,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
325
325
|
version: '0'
|
326
326
|
segments:
|
327
327
|
- 0
|
328
|
-
hash: -
|
328
|
+
hash: -329447928729327690
|
329
329
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
330
330
|
none: false
|
331
331
|
requirements:
|
@@ -334,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
334
|
version: '0'
|
335
335
|
segments:
|
336
336
|
- 0
|
337
|
-
hash: -
|
337
|
+
hash: -329447928729327690
|
338
338
|
requirements: []
|
339
339
|
rubyforge_project:
|
340
340
|
rubygems_version: 1.8.23
|