Skip to content
Commits on Jan 1, 2011
  1. @dchelimsky

    Include rails-specific example group extensions based on :type key.

    dchelimsky committed
    - e.g. describe "something", :type => :controller do
    - reworked internal module inclusion functionality
    - include request spec extensions in spec/integration for ease of
      upgrade from rspec-rails-1.x
    - Closes #256.
Commits on Dec 23, 2010
  1. @dchelimsky

    Use ActiveSupport::TestCase::Assertion (which knows whether we're using

    dchelimsky committed
    Test::Unit or MiniTest).
    - Closes #297.
Commits on Dec 21, 2010
  1. @dchelimsky
Commits on Dec 20, 2010
  1. @dchelimsky
Commits on Dec 17, 2010
  1. @dchelimsky
Commits on Dec 13, 2010
  1. @dchelimsky
Commits on Dec 7, 2010
  1. @dchelimsky
Commits on Nov 10, 2010
  1. @jdelStrother @dchelimsky

    Fix inclusion of default helper to ViewExampleGroup

    jdelStrother committed with dchelimsky
    I suspect it's been broken ever since
    6f254ac60a95aab7eafc56f0f19267ca9cb6412a in rspec-core
    - Closes #259.
    Signed-off-by: Jonathan del Strother <>
Commits on Nov 6, 2010
  1. @dchelimsky

    Move error[s]_on to ActiveModel::Validations so it can be used by other

    dchelimsky committed
    ActiveModel compliant ORMs
    - Closes #251.
Commits on Oct 24, 2010
  1. @dchelimsky
Commits on Oct 8, 2010
  1. @dchelimsky
  2. @matthewtodd @dchelimsky

    Make Autotest::RailsRspec2 honor spec/support/*.rb

    matthewtodd committed with dchelimsky
    Previously, it looked at a subdirectory called "shared," but the
    generated spec_helper guides us towards one named "support" instead.
    (Alternatively, we could have changed the generated spec_helper to
    suggest "shared" instead, but since cucumber uses "features/support,"
    this seems like a good choice.)
    - Closes #233.
Commits on Oct 6, 2010
  1. @dchelimsky

    route_to delegates to assert_recognizes rather than assert_routing

    dchelimsky committed
    - aligns better with the matcher name
    - eliminates failures on alternate routes to same controllers
    - route generation can be spec'd in the context of view specs
    - Closes #221.
Commits on Oct 5, 2010
  1. @dchelimsky
Commits on Sep 30, 2010
  1. @dchelimsky

    refactor spec

    dchelimsky committed
  2. @paulrosania @dchelimsky

    ControllerExampleGroup uses controller as the implicit subject by def…

    paulrosania committed with dchelimsky
    Restores functionality from RSpec 1.X.  Hat tip to jferris for the original
    patch. (Closes #223)
  3. @dchelimsky

    separate ActiveModel and ActiveRecord APIs in stub_model and mock_model

    David Chelimsky and Josh Graham committed with dchelimsky
Commits on Sep 28, 2010
  1. @dchelimsky

    New be_new_record matcher delegates to persisted?

    dchelimsky committed
    - prefer ActiveModel API over ActiveRecord
Commits on Sep 24, 2010
  1. @dchelimsky

    Make spec temporarily pending

    dchelimsky committed
    - need to figure out the failure before next release, but need to move
      on at this moment
Commits on Sep 7, 2010
  1. @dchelimsky
  2. @dchelimsky

    add respond_to support to mock_model for use with the rails 3 form_he…

    Tim Connor committed with dchelimsky
    - Closes #195.
Commits on Sep 5, 2010
  1. @dchelimsky

    Use Rails config to determine whether or not we're using AR

    dchelimsky committed
    - defined?(:ActiveRecord) is unreliable
Commits on Sep 2, 2010
  1. @rust @dchelimsky
Commits on Aug 25, 2010
  1. @dchelimsky
Commits on Aug 17, 2010
  1. @dchelimsky

    render views in controller specs if controller class does not respond_to

    dchelimsky committed
    - this indicates that the controller is not a subclass of
    - supports spec'ing ActionController::Metal with controller specs, with
      the caveat that ActionController::TestCase::Behavior supports it,
      which is not the case at the time of this commit
Commits on Aug 15, 2010
  1. @dchelimsky

    Routing specs can access named routes

    dchelimsky committed
    - Closes #147.
  2. @justinko @dchelimsky
Commits on Aug 14, 2010
  1. @justinko @dchelimsky

    Remove 'should' from example docstrings.

    justinko committed with dchelimsky
    - Closes #162.
Commits on Aug 12, 2010
  1. @justinko @dchelimsky
Commits on Aug 10, 2010
  1. @dchelimsky
Commits on Aug 6, 2010
  1. @justinko @dchelimsky
Commits on Aug 4, 2010
  1. @justinko @dchelimsky
Commits on Jul 20, 2010
  1. @dchelimsky

    mock_model can now take a String or a Class

    dchelimsky committed
      * A String representing a Class that does not exist
      * A String representing a Class that extends ActiveModel::Naming
      * A Class that extends ActiveModel::Naming
Commits on Jul 18, 2010
  1. @dchelimsky

    Include helper methods defined in controllers in the view object in

    dchelimsky committed
    - based on gist from Wincent Colaiuta <>
    - Closes #119.
  2. @dchelimsky

    cleanup whitespace

    dchelimsky committed
Something went wrong with that request. Please try again.