spec/resources/controllers/render_spec_controller.rb in dchelimsky-rspec-rails-1.1.12 vs spec/resources/controllers/render_spec_controller.rb in dchelimsky-rspec-rails-1.1.99.1
- old
+ new
@@ -1,6 +1,6 @@
class RenderSpecController < ApplicationController
- set_view_path File.join(File.dirname(__FILE__), "..", "views")
+ prepend_view_path File.join(File.dirname(__FILE__), "..", "views")
def some_action
respond_to do |format|
format.html
format.js