Updated to latest rspec
[gitorious:georgyos-clone.git] / vendor / plugins / rspec-rails / lib / spec / rails / extensions / action_controller / base.rb
1 module ActionController
2   class Base
3     class << self
4       def set_view_path(path)
5         [:append_view_path, :view_paths=, :template_root=].each do |method|
6           if respond_to?(method)
7             return send(method, path)
8           end
9         end
10       end
11     end
12   end
13 end
14