Skip to content
Commits on Apr 29, 2011
  1. @dchelimsky

    Refactor controller/view_paths extensions for view isolation

    dchelimsky committed Apr 29, 2011
    - 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 committed with dchelimsky Apr 28, 2011
    - inject rspec-rails' path delegator resolver
    - Closes #359.
Commits on Jan 16, 2011
  1. @dchelimsky
Commits on Dec 20, 2010
  1. @dchelimsky

    render_views (and render_views(false)) overrides parent setting in

    dchelimsky committed Dec 20, 2010
    nested groups.
    
    - Closes #295.
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 committed Aug 17, 2010
    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 committed Jul 18, 2010
Commits on Jul 10, 2010
  1. @dchelimsky

    remove debugging output

    dchelimsky committed Jul 10, 2010
  2. @dchelimsky

    Make RSpec-generated template blank.

    dchelimsky committed Jul 10, 2010
    - 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 committed Jun 28, 2010
    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 committed Jun 27, 2010
    - Removed some unnecessaries that were left over from a spike.
    - Happens.
  3. @dchelimsky

    Make render_views work again

    dchelimsky committed Jun 27, 2010
    - 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 committed Jun 27, 2010
    - 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 committed Jun 5, 2010
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.