Permalink
Browse files

Fix incorrectly failing specs

  • Loading branch information...
1 parent 3db9046 commit 1a16e3008cbf7b730e0d41eff0c3075d1a3a6338 Yehuda Katz committed Jul 17, 2008
Showing with 1 addition and 3 deletions.
  1. +1 −3 merb-rest-server/spec/merb_rest_server_spec.rb
@@ -47,12 +47,10 @@
it "should have :routes and :named_routes properties" do
MerbRestServer.routes.should_not be_empty
- MerbRestServer.named_routes[:merb_rest_server_index].should be_kind_of(Merb::Router::Route)
end
it "should have an url helper method for slice-specific routes" do
- MerbRestServer.url(:controller => 'main', :action => 'show', :format => 'html').should == "/merb_rest_server/main/show.html"
- MerbRestServer.url(:merb_rest_server_index, :format => 'html').should == "/merb_rest_server/index.html"
+ MerbRestServer.url(:controller => 'main', :action => 'show', :format => 'html').should == "/rest/main/show.html"
end
it "should have a config property (Hash)" do

0 comments on commit 1a16e30

Please sign in to comment.