Commit Graph

14 Commits

Author SHA1 Message Date
Paul Daigle
48d3c753ee Refactor: create rest_connector module
The rest connector module moves most of the functionality of http
connection out of the client and into a module. The goal is to simplify
method calls and DRY up the code.

Changes include replacing all calls to send_request with calls to either
'get' or 'post'. process request now returns the "data" portion of the
JSON response from the server, as every method was retrieving that
separately.

removed some untested code.
2015-03-12 18:23:49 -04:00
Hamish Eisler
72487c9591 correct BTC validation 2015-03-12 18:23:02 -04:00
Paul Daigle
61f9312a5b use trigger('click') for buttons' 2015-02-16 19:32:06 -05:00
Paul Daigle
55e4300f62 tweak timing and selection 2015-02-16 19:15:34 -05:00
Paul Daigle
762d31cf52 Change cucumbers to work with new dashboard 2015-02-16 18:26:45 -05:00
Hamish Eisler
c7dfbf249c changes per Paul comments 2015-02-16 09:33:20 -08:00
Hamish Eisler
953848bfde increase sleep for travis reliability 2015-02-06 13:05:05 -08:00
Hamish Eisler
b3b4eddbc6 reduce invoice amounts to work with tier 0 accounts 2015-02-05 16:23:21 -08:00
Hamish Eisler
f43ab470b8 update tests for new dashboard 2015-02-04 23:30:35 -08:00
Hamish Eisler
bf428ba0ba update tests 2015-01-30 00:27:50 +00:00
Paul Daigle
ad3a68e009 Change namespace of Client to SDK::Client
And bumps gem version, deletes redundant files, removes redundant
requires.
2015-01-07 10:46:46 -05:00
Paul Daigle
c95945e710 Remove bitpay client.
Bitpay client removed, bitpay bin for client removed.
Features modified to run with local token/key saved or not.
Rake task to clean up local files if created.
Rake task to run all tests, cucumbers, and clean up.

Move local file constants to the cucumber helper
2014-12-29 17:06:28 -05:00
Paul Daigle
3b692398e0 Modified rake task to clear everything
Both before and after cucumbers.

Improved token clearance to use mongo

Rather than relying on capybara, deletes rather than revokes.
2014-12-13 18:18:24 -05:00
Paul Daigle
558a8530b6 Add cucumber testing to bitpay library
Work done simultaneously with removing the client from the library

removed 'id' as an argument, no longer valid
2014-12-13 17:30:44 -05:00