Skip to content
This repository
tag: v2.4.1
Fetching contributors…

Cannot retrieve contributors at this time

file 114 lines (80 sloc) 3.849 kb

rspec-rails-2 release history

2.4.1 / 2011-01-03

full changelog

  • Bug fixes
    • fixed bug caused by including some Rails modules before RSpec's RailsExampleGroup

2.4.0 / 2011-01-02

full changelog

  • Enhancements

    • include ApplicationHelper in helper object in helper specs
    • include request spec extensions in files in spec/integration
    • include controller spec extensions in groups that use :type => :controller
      • same for :model, :view, :helper, :mailer, :request, :routing
  • Bug fixes

    • restore global config.render_views so you only need to say it once
    • support overriding render_views in nested groups
    • matchers that delegate to Rails' assertions capture ActiveSupport::TestCase::Assertion (so they work properly now with should_not in Ruby 1.8.7 and 1.9.1)
  • Deprecations

    • include_self_when_dir_matches

2.3.1 / 2010-12-16

full changelog

  • Bug fixes
    • respond_to? correctly handles 2 args
    • scaffold generator no longer fails on autotest directory

2.3.0 / 2010-12-12

full changelog

  • Changes
    • Generator no longer generates autotest/autodiscover.rb, as it is no longer needed (as of rspec-core-2.3.0)

2.2.1 / 2010-12-01

full changelog

  • Bug fixes

    • Depend on railties, activesupport, and actionpack instead of rails (Piotr Solnica)
    • Got webrat integration working properly across different types of specs
  • Deprecations

    • --webrat-matchers flag for generators is deprecated. use --webrat instead.

2.2.0 / 2010-11-28

full changelog

  • Enhancements

    • Added stub_template in view specs
  • Bug fixes

    • Properly include helpers in views (Jonathan del Strother)
    • Fix bug in which method missing led to a stack overflow
    • Fix stack overflow in request specs with open_session
    • Fix stack overflow in any spec when method_missing was invoked
    • Add gem dependency on rails ~> 3.0.0 (ensures bundler won't install rspec-rails-2 with rails-2 apps).

2.1.0 / 2010-11-07

full changelog

  • Enhancements

    • Move errors_on to ActiveModel to support other AM-compliant ORMs
  • Bug fixes

    • Check for presence of ActiveRecord instead of checking Rails config (gets rspec out of the way of multiple ORMs in the same app)

2.0.1 / 2010-10-15

full changelog

  • Enhancements

    • Add option to not generate request spec (--skip-request-specs)
  • Bug fixes

    • Updated the mock_[model] method generated in controller specs so it adds any stubs submitted each time it is called.
    • Fixed bug where view assigns weren't making it to the view in view specs in Rails-3.0.1. (Emanuele Vicentini)

2.0.0 / 2010-10-10

full changelog

  • Enhancements

    • ControllerExampleGroup uses controller as the implicit subject by default (Paul Rosania)
    • autotest mapping improvements (Andreas Neuhaus)
    • more cucumber features (Justin Ko)
    • clean up spec helper (Andre Arko)
    • add assign(name, value) to helper specs (Justin Ko)
    • stub_model supports primary keys other than id (Justin Ko)
    • support choice between Webrat/Capybara (Justin Ko)
    • support specs for 'abstract' subclasses of ActionController::Base (Mike Gehard)
    • be_a_new matcher supports args (Justin Ko)
  • Bug fixes

    • support T::U components in mailer and request specs (Brasten Sager)
Something went wrong with that request. Please try again.