gems rspec-rails 3.0.0.beta2

latest releases: 6.1.2, 6.1.1, 6.1.0...
10 years ago

3.0.0.beta2 / 2014-02-17

full changelog

Bug fixes

  • Use __send__ rather than send to prevent naming collisions (Bradley Schaefer)
  • Supports Rails 4.1. (Andy Lindeman)
  • Routes are drawn correctly for anonymous controllers with abstract
    parents. (Billy Chan)
  • Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)
  • Anonymous controllers inherit from ActionController::Base if ApplicationController
    is not present. (Jon Rowe)
  • Require rspec/collection_matchers when rspec/rails is required. (Yuji Nakayama)

Enhancements

  • Improve be_valid matcher for non-ActiveModel::Errors implementations (Ben Hamill)

Breaking Changes for 3.0.0:

  • Removes the --webrat option for the request spec generator (Andy Lindeman)
  • Methods from Capybara::DSL (e.g., visit) are no longer available in
    controller specs. It is more appropriate to use capybara in feature specs
    (spec/features) instead. (Andy Lindeman)
  • infer_base_class_for_anonymous_controllers is
    enabled by default. (Thomas Holmes)
  • Capybara 2.2.0 or above is required for feature specs. (Andy Lindeman)

Don't miss a new rspec-rails release

NewReleases is sending notifications on new releases.