0
- get :foo, :format => 'xml' should not render foo
0
-DefaultRespondToController behaviour of #respond_to:
0
-- get :foo should not call first
0
-- get :foo should not call second
0
-- get :foo should call third
0
- get :foo, :bail_out => true should redirect
0
- get :foo should render text/html: foo
0
- get :foo should assign @foo
0
- get :foo, :format => 'html' should render foo
0
- get :foo, :format => 'xml' should not render foo
0
-InlineXmlFooController:
0
-- get :foo should render text/html 'foo'
0
+- get :foo should call a
0
+- get :baz should call bazza (inside the response_for block)
0
+- get :foo should call b
0
- get :foo should assign @foo
0
- get :foo, :format => 'html' should render 'foo'
0
- get :foo, :format => 'xml' should call xml_call with 'foo
0
- get :foo, :format => 'xml' should have response.body of 'XML'
0
- get :foo should render foo
0
- get :foo should assign @foo
0
- get :foo, :format => 'html' should render foo
0
- get :foo, :format => 'xml' should render foo
0
- get :bar, :format => 'xml' should render bar
0
-- get :just_a_template, :format => 'xml' should render just_a_template
0
- get :foo should render xml: foo
0
- get :bar should render xml: bar
0
- get :foo should assign @foo
0
- get :foo, :format => 'html' should not render foo
0
- get :foo, :format => 'xml' should render foo
0
-class method #action_responses
:0
+class method #action_responses
0
- @child.action_responses[:action] should be copy of parent's action response for :action
0
- @grandchild.action_responses[:action] should be copy of @child.action_responses[:action]
0
- @child.action_responses[:action] not be same object as parent's action response for :action
0
- @grandchild.action_responses[:action] not be same object as @child.action_responses[:action]
0
- adding to @grandchild.action_responses[:action] should not change parents
0
-Finished in 0.
236473 seconds
0
+Finished in 0.
328216 seconds
0
-30 examples, 0 failures
0
+28 examples, 0 failures