shoulda-matchers 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shoulda-matchers (1.5.1)
4
+ shoulda-matchers (1.5.2)
5
5
  activesupport (>= 3.0.0)
6
6
  bourne (~> 1.3)
7
7
 
data/README.md CHANGED
@@ -88,6 +88,7 @@ end
88
88
  # rspec-rails needs to be in the development group so that Rails generators
89
89
  # work.
90
90
  group :development, :test do
91
+ gem "rspec"
91
92
  gem "rspec-rails"
92
93
  end
93
94
  ```
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/draper/Dropbox/Development/shoulda-matchers
3
3
  specs:
4
- shoulda-matchers (1.5.1)
4
+ shoulda-matchers (1.5.2)
5
5
  activesupport (>= 3.0.0)
6
6
  bourne (~> 1.3)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/draper/Dropbox/Development/shoulda-matchers
3
3
  specs:
4
- shoulda-matchers (1.5.1)
4
+ shoulda-matchers (1.5.2)
5
5
  activesupport (>= 3.0.0)
6
6
  bourne (~> 1.3)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/draper/Dropbox/Development/shoulda-matchers
3
3
  specs:
4
- shoulda-matchers (1.5.1)
4
+ shoulda-matchers (1.5.2)
5
5
  activesupport (>= 3.0.0)
6
6
  bourne (~> 1.3)
7
7
 
@@ -1,5 +1,5 @@
1
1
  # :enddoc:
2
- require 'rspec/rails'
2
+ require 'rspec'
3
3
 
4
4
  RSpec.configure do |config|
5
5
  require 'shoulda/matchers/independent'
@@ -1,5 +1,5 @@
1
1
  module Shoulda
2
2
  module Matchers
3
- VERSION = '1.5.1'.freeze
3
+ VERSION = '1.5.2'.freeze
4
4
  end
5
5
  end
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.1
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: -1367983443848966676
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: -1367983443848966676
337
+ hash: -329447928729327690
338
338
  requirements: []
339
339
  rubyforge_project:
340
340
  rubygems_version: 1.8.23