spec/ramaze/controller/template_resolving.rb in ramaze-0.2.1 vs spec/ramaze/controller/template_resolving.rb in ramaze-0.3.0

- old
+ new

@@ -42,13 +42,12 @@ template :greet__last, 'greet/other' end describe "Testing Template overriding" do - before(:all) do - ramaze - end + behaves_like 'http' + ramaze it "simple request to greet" do get('/greet/asdf').body.should == '<html>asdf : Message</html>' end @@ -74,6 +73,6 @@ end it "should use template overrides for non-existant actions" do get('/non_existant_method').body.should == '<html></html>' end -end \ No newline at end of file +end