spec/ramaze/controller/actionless_templates.rb in ramaze-2008.11 vs spec/ramaze/controller/actionless_templates.rb in ramaze-2009.01
- old
+ new
@@ -17,10 +17,10 @@
end
describe "Testing Actionless Templates" do
behaves_like 'http'
ramaze :actionless_templates => false,
- :view_root => __DIR__/:view, :error_page => true
+ :view_root => __DIR__(:view), :error_page => true
it "should not find template file for non existant method" do
get('/non_existant_method').status.should == 404
get('/non_existant_method2').status.should == 404
end