test/dryrun_test.rb in rufus-verbs-0.5 vs test/dryrun_test.rb in rufus-verbs-0.6
- old
+ new
@@ -22,21 +22,21 @@
req = put(
:dry_run => true,
:uri => "http://localhost:7777/items/1",
:params => { "a" => "A", :b => :B })
- assert "/items/1?a=A&b=B", req.path
+ assert_equal "/items/1?a=A&b=B", req.path
req = put(
:dry_run => true,
:uri => "http://localhost:7777/items/1",
:query => { "a" => "A", :b => :B })
- assert "/items/1?a=A&b=B", req.path
+ assert_equal "/items/1?a=A&b=B", req.path
req = put(
"http://localhost:7777/items/1?a=A", :d => "toto", :dry_run => true)
- assert "/items/1?a=A", req.path
- assert "toto", req.body
+ assert_equal "/items/1?a=A", req.path
+ assert_equal "toto", req.body
end
end