Skip to content

Commit

Permalink
Fix rate_limit specs
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed May 8, 2012
1 parent 77f06f2 commit c442982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,7 @@
$stdout.string.should == <<-eos
Hourly limit 20,000
Remaining hits 19,993
Reset time Oct 25 2010
Reset time Oct 26 2010
eos
end
context "--csv" do
Expand All @@ -1937,7 +1937,7 @@
@cli.rate_limit
$stdout.string.should == <<-eos
Hourly limit,Remaining hits,Reset time
20000,19993,2010-10-26 02:43:08 +0000
20000,19993,2010-10-26 12:43:08 +0000
eos
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/rate_limit_status.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"remaining_hits":19993,"hourly_limit":20000,"reset_time_in_seconds":1288060988,"reset_time":"Tue Oct 26 02:43:08 +0000 2010"}
{"remaining_hits":19993,"hourly_limit":20000,"reset_time_in_seconds":1288060988,"reset_time":"Tue Oct 26 12:43:08 +0000 2010"}

0 comments on commit c442982

Please sign in to comment.