search for: viewexamplegroup

Displaying 3 results from an estimated 3 matches for "viewexamplegroup".

Did you mean: view_example_group
2009 Mar 15
0
rspec-rails 1.2.0 Released
...e information * deprecations * controller.use_rails_error_handling! is deprecated * use rescue_action_in_public! (from rails) instead * enhancements * Adding status codes to redirect_to matcher (Damian Janowski). Closes #570. * Initialize current URL before executing any examples in a ViewExampleGroup (Wilson Bilkovich). Closes #654. * Support query strings in params_from (Wilson Bilkovich). Closes #652. * delegate route_for to assert_recognizes (less brittle) * it { should be_valid } (Kakutani). Closes #665. * controller is implicit subject in controller specs (Joe Ferris). #686. * te...
2007 Dec 07
4
strange error on mock proxy
...oups = accounts(:dawson).groups render "/units/new.html" end it "should render new form" do response.should have_tag("form[action=?][method=post]", units_path) end end And the error: 4) ActionView::TemplateError in ''Spec::Rails::Example::ViewExampleGroup/ units/new.html.erb should render new form'' You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.include? On line #13 of units/_form.html.erb 10: <% unless @unit.root? -%> 11: &...
2007 Nov 26
8
Renaming RailsExample to RailsExampleGroup
Fyi, I made the following renames: * RailsExample -> RailsExampleGroup * FunctionalExample -> FunctionalExampleGroup * ControllerExample -> ControllerExampleGroup * ViewExample -> ViewExampleGroup * HelperExample -> HelperExampleGroup * ModelExample -> ModelExampleGroup This was done to keep the naming consistent with ExampleGroup.