test/dummy/app/controllers/template_assertions_controller.rb in rails-controller-testing-1.0.4 vs test/dummy/app/controllers/template_assertions_controller.rb in rails-controller-testing-1.0.5
- old
+ new
@@ -18,10 +18,10 @@
def render_file_absolute_path
render file: File.expand_path('../../../README.rdoc', __FILE__)
end
def render_file_relative_path
- render file: 'test/dummy/README.rdoc'
+ render file: '/test/dummy/README.rdoc'
end
def render_with_layout
@variable_for_layout = 'hello'
render "test/hello_world", layout: "layouts/standard"