The library now uses the crpytographically secure API. more tests plus CLI enhancements Library no longer supporting ruby 1.9.x 1.9.x will be deprecated in February of 2015, so there is little incentive to write our new library to support it. 1.9.x users should still be able to use V1 of the API. This commit adds some changes, such as named arguments, that are incompatible with 1.9.x. Add Rake tasks to clear limiters When many integration tests are run in a short period, the local bitpay server will refuse to create new keys due to the rate limiting function. This rake task clears the ratelimiters database.
14 lines
286 B
Ruby
14 lines
286 B
Ruby
require 'spec_helper'
|
|
|
|
context 'local variables' do
|
|
it "should find the root address" do
|
|
expect(ROOT_ADDRESS).not_to be_nil
|
|
end
|
|
it "should find the user" do
|
|
expect(TEST_USER).not_to be_nil
|
|
end
|
|
it "should find the user" do
|
|
expect(TEST_PASS).not_to be_nil
|
|
end
|
|
end
|