spec/ramaze/controller/template_resolving.rb in ramaze-2009.05 vs spec/ramaze/controller/template_resolving.rb in ramaze-2009.06
- old
+ new
@@ -42,10 +42,10 @@
end
alias_view :greet__last, 'greet__other'
end
describe "Template aliasing" do
- behaves_like :mock
+ behaves_like :rack_test
it 'serves normal template' do
get('/greet/asdf').body.should == '<html>asdf : Message</html>'
end