Skip to content

Commit

Permalink
Use the same shoulda-matchers/context version in gemspec and steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jul 13, 2012
1 parent 2f69485 commit d524420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/step_definitions/rails_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
end

When /^I configure the application to use shoulda$/ do
append_to_gemfile "gem 'shoulda-matchers', '~> 1.0.0', :require => false"
append_to_gemfile "gem 'shoulda-context', '~> 1.0.0', :require => false"
append_to_gemfile "gem 'shoulda-matchers', '~> 1.0', :require => false"
append_to_gemfile "gem 'shoulda-context', '~> 1.0', :require => false"
append_to_gemfile "gem 'shoulda', :path => '../../..'"
steps %{And I run `bundle install --local`}
end

When /^I configure the application to use shoulda-matchers$/ do
append_to_gemfile "gem 'shoulda-matchers', '~> 1.0.0'"
append_to_gemfile "gem 'shoulda-matchers', '~> 1.0'"
steps %{And I run `bundle install --local`}
end

Expand Down

0 comments on commit d524420

Please sign in to comment.