Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 29, 2011
  1. @dchelimsky

    Refactor controller/view_paths extensions for view isolation

    dchelimsky authored
    - handle both Strings and PathSets passed to append_view_path or
      prepend_view_path
Commits on Apr 28, 2011
  1. @amerine @dchelimsky

    Override append/prepend_view_paths in controller specs

    amerine authored dchelimsky committed
    - inject rspec-rails' path delegator resolver
    - Closes #359.
Commits on Jan 16, 2011
  1. @dchelimsky
Commits on Dec 20, 2010
  1. @dchelimsky
Commits on Dec 17, 2010
  1. @dchelimsky
Commits on Oct 24, 2010
  1. @dchelimsky
Commits on Aug 17, 2010
  1. @dchelimsky

    render views in controller specs if controller class does not respond_to

    dchelimsky authored
    view_paths.
    
    - this indicates that the controller is not a subclass of
      ActionController::Base
    - 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 Jul 18, 2010
  1. @dchelimsky

    cleanup whitespace

    dchelimsky authored
Commits on Jul 10, 2010
  1. @dchelimsky

    remove debugging output

    dchelimsky authored
  2. @dchelimsky

    Make RSpec-generated template blank.

    dchelimsky authored
    - ensures that different formats won't complain with compilation errors
    - sadly looses helpful error message for users who don't understand
      isolation from views, but the alternative would have added too much
      complexity
    
    Closes #121.
Commits on Jun 28, 2010
  1. @dchelimsky

    Create new AV::Template objects for view isolation

    dchelimsky authored
    Because templates cache their content when rendered, modifying the
    template source only works if the template had not yet been rendered.
    
    - added a cucumber scenario with several example groups alternately
      using render_views and not, to show that the rendered templates are
      not cached across requests
    - NOTE that this does not mean templates are not cached internally in
      Rails. Just that the templates used in controller specs are not the
      same ones cached by Rails (though they are initialized with all of the
      same data).
  2. @dchelimsky

    Even cleaner.

    dchelimsky authored
    - Removed some unnecessaries that were left over from a spike.
    - Happens.
  3. @dchelimsky

    Make render_views work again

    dchelimsky authored
    - Updated the cukes to fail meaningfully
    - Updated the code to pass them
    - Updated my glass of water to scotch
  4. @dchelimsky
Commits on Jun 27, 2010
  1. @dchelimsky

    Stub template content in controller specs instead of using NullResolver

    dchelimsky authored
    - this requires templates to exist, but ...
    - still isolates specs from template content
    
    Thanks to José Valim for the assist.
  2. @dchelimsky
Commits on Jun 19, 2010
  1. @dchelimsky
  2. @dchelimsky
Commits on Jun 5, 2010
  1. @dchelimsky

    words

    dchelimsky authored
Commits on May 17, 2010
  1. @dchelimsky
Commits on May 1, 2010
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky
Something went wrong with that request. Please try again.