spec/resources/controllers/controller_spec_controller.rb in dchelimsky-rspec-rails-1.1.12 vs spec/resources/controllers/controller_spec_controller.rb in dchelimsky-rspec-rails-1.1.99.1
- old
+ new
@@ -5,10 +5,10 @@
raise "from a before filter"
end
skip_before_filter :raise_error
- set_view_path File.join(File.dirname(__FILE__), "..", "views")
+ prepend_view_path File.join(File.dirname(__FILE__), "..", "views")
def some_action
render :template => "template/that/does/not/actually/exist"
end
\ No newline at end of file