Skip to content

Commit

Permalink
Removed duplicate spec (which is covered by the Rack specs).
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodd committed Jun 20, 2008
1 parent ac497c0 commit 1d3b7e0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/halcyon/application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@
body['body'].should == "Found"
end

it "should handle requests with param values in the URL" do
body = JSON.parse(Rack::MockRequest.new(@app).get("/hello/Matt?test=value").body)
body['status'].should == 200
body['body'].should == "Hello Matt"
@log.split("\n").last.should =~ /"test"=>"value"/
end

it "should not dispatch private methods" do
body = JSON.parse(Rack::MockRequest.new(@app).get("/specs/undispatchable_private_method").body)
body['status'].should == 404
Expand Down

0 comments on commit 1d3b7e0

Please sign in to comment.