spec/rack/test/digest_auth_spec.rb in rack-test-0.6.1 vs spec/rack/test/digest_auth_spec.rb in rack-test-0.6.2

- old
+ new

@@ -22,9 +22,15 @@ digest_authorize "alice", "correct-password" response = get "/" response.should be_ok end + it "correctly authenticates GETs with params" do + digest_authorize "alice", "correct-password" + response = get "/", "foo" => "bar" + response.should be_ok + end + it "correctly authenticates POSTs" do digest_authorize "alice", "correct-password" response = post "/" response.should be_ok end