xoopit-cloud_query 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/spec/cloudquery_spec.rb +2 -2
- metadata +1 -1
data/spec/cloudquery_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'spec_helper'
|
1
|
+
require 'spec/spec_helper'
|
2
2
|
|
3
3
|
if ENV["TEST_REAL_HTTP"]
|
4
4
|
# Create a config.yml file containing the following:
|
@@ -359,7 +359,7 @@ describe CloudQuery::Request do
|
|
359
359
|
|
360
360
|
it "should return a hash with the x_time parameter with the current milliseconds since epoch" do
|
361
361
|
@params.should have_key('x_time')
|
362
|
-
@params['x_time'].should be_close(Time.now.
|
362
|
+
@params['x_time'].should be_close(Time.now.to_i_milliseconds, 100)
|
363
363
|
end
|
364
364
|
|
365
365
|
it "should return a hash with the x_nonce parameter of the format \d+.\d+" do
|