Skip to content

Commit a96ef34

Browse files
committed
+ example of request with Array params
1 parent 4588a37 commit a96ef34

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ resource "Account" do
7272
response_body.should == accounts.reverse
7373
status.should == 200
7474
end
75+
76+
example "Get a list of all accounts with certain types" do
77+
do_request(:type_in => ["pending", "closed"])
78+
79+
response_body.should == accounts.inactive
80+
status.should == 200
81+
end
7582
end
7683

7784
get "/accounts/:id" do

0 commit comments

Comments
 (0)