Permalink
Browse files

spec_rack_utils.rb - Reformulated two test case descriptions

  • Loading branch information...
1 parent fd8b436 commit 94e72cb954f77139ca07ad143da84b9823ef0531 @qerub qerub committed with Jun 23, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/spec_rack_utils.rb
View
4 test/spec_rack_utils.rb
@@ -20,7 +20,7 @@
should.equal "q1!2\"'w$5&7/z8)?\\"
end
- specify "should parse queries correctly" do
+ specify "should parse query strings correctly" do
Rack::Utils.parse_query("foo=bar").should.equal "foo" => "bar"
Rack::Utils.parse_query("foo=bar&foo=quux").
should.equal "foo" => ["bar", "quux"]
@@ -30,7 +30,7 @@
should.equal "my weird field" => "q1!2\"'w$5&7/z8)?"
end
- specify "should create queries correctly" do
+ specify "should build query strings correctly" do
Rack::Utils.build_query("foo" => "bar").should.equal "foo=bar"
Rack::Utils.build_query("foo" => ["bar", "quux"]).
should.equal "foo=bar&foo=quux"

0 comments on commit 94e72cb

Please sign in to comment.