spec/spec/rails/example/controller_isolation_spec.rb in dchelimsky-rspec-rails-1.1.11.7 vs spec/spec/rails/example/controller_isolation_spec.rb in dchelimsky-rspec-rails-1.1.12
- old
+ new
@@ -19,13 +19,9 @@
describe "a controller spec running in integration mode", :type => :controller do
controller_name :controller_spec
integrate_views
- before(:each) do
- controller.class.send(:define_method, :rescue_action) { |e| raise e }
- end
-
it "should render a template" do
get 'action_with_template'
response.should be_success
response.should have_tag('div', 'This is action_with_template.rhtml')
end