Commit Graph

19 Commits

Author SHA1 Message Date
R. Tyler Croy 1c18c33487 Begin implementing the underlying method to create a new Sauce Labs account for the heroku user 2012-12-20 01:24:55 -08:00
R. Tyler Croy 35a07e0b50 Work in progress, need to refactor the writing of the ondemand.yml out of the Heroku Command 2012-12-20 01:08:13 -08:00
R. Tyler Croy d940869674 Properly handle authentication failures when creating a scout session
Also added a bit more tolerance to general API failures

Fixes #2
2012-12-17 23:37:46 -08:00
R. Tyler Croy 500a941d84 STart refactoring out the Sauce API code into its own module to make it more testable and extendable
This is a precursor to the bug fix for #2 but will also lay the ground work for
the more complex user-creation API calls required by #1
2012-12-17 23:24:53 -08:00
R. Tyler Croy b3fd19e0af Properly set the Config object's @config variable when loading 2012-12-17 22:51:59 -08:00
R. Tyler Croy 69d31f8a1e Refactor the Command to use the new Config class and add examples for #scout_url 2012-12-17 22:42:46 -08:00
R. Tyler Croy 00352ab19b Move configuration handling code out into its own class to clean up the Command logic
Taking some of my own advice regarding good RSpec practice too, lazy developer is lazy
2012-12-17 22:29:43 -08:00
R. Tyler Croy 16c34443a9 Define a number of methods for different browsers, and spin up the plugin properly 2012-12-09 21:31:07 -08:00
R. Tyler Croy 84f8ede917 Clean-up things to make the specs pass again now that most methods are private 2012-12-09 21:30:36 -08:00
R. Tyler Croy 65158b32c3 Hit the Sauce API and actually fire up a Scout session, WOO! 2012-12-08 16:35:55 -08:00
R. Tyler Croy 1c36a292c2 Vendor gems to make installing the plugins work properly.
The `gems:vendor` Rake task will properly pull everything needed into vendor/ruby
2012-12-08 16:04:12 -08:00
R. Tyler Croy ede60e9c05 Start interfacing with the scout API, mostly undocumented but let's hope this works o_O 2012-12-03 22:51:10 -08:00
R. Tyler Croy 83ad946d05 Start testing scenarios with the plugin configured properly 2012-11-11 17:54:26 -08:00
R. Tyler Croy 7f0964d728 Only display a configuration warning if Sauce for Heroku hasn't been configured 2012-11-11 17:07:06 -08:00
R. Tyler Croy 596ccd8e76 Add a simple helper function to find out whether we have been configured for Sauce Labs or not 2012-11-11 16:45:52 -08:00
R. Tyler Croy bf6102ada8 Add the bits necessary to RSpec test the addon 2012-11-10 15:46:41 -08:00
R. Tyler Croy 9cc421045b Add a simple scenario for `heroku sauce:chrome` 2012-11-10 15:46:41 -08:00
R. Tyler Croy ae06bae465 Start implmenting a `heroku sauce:configure` command
Aruba is nifty
2012-10-31 22:48:48 -07:00
R. Tyler Croy f9a9e856d5 First cut at driving the heroku CLI plugin with Cucumber and Aruba 2012-10-31 21:33:12 -07:00