lib/spec/rails/extensions/action_controller/base.rb in dchelimsky-rspec-rails-1.1.11.4 vs lib/spec/rails/extensions/action_controller/base.rb in dchelimsky-rspec-rails-1.1.11.5
- old
+ new
@@ -1,9 +1,9 @@
module ActionController
class Base
class << self
def set_view_path(path)
- [:append_view_path, :view_paths=, :template_root=].each do |method|
+ [:append_view_path, :template_root=].each do |method|
if respond_to?(method)
return send(method, path)
end
end
end