spec/ramaze/helper/aspect.rb in ramaze-0.2.1 vs spec/ramaze/helper/aspect.rb in ramaze-0.3.0
- old
+ new
@@ -38,10 +38,11 @@
template :loop_with_layout, :loop
layout :layout => [:loop_with_layout]
end
describe "AspectHelper" do
- ramaze(:error_page => false)
+ behaves_like 'http'
+ ramaze :error_page => false
it "shouldn't overwrite traits on inclusion" do
TCAspectController.trait[:foo].should == :bar
end