README.md in heroku-api-0.3.8 vs README.md in heroku-api-0.3.9
- old
+ new
@@ -3,11 +3,11 @@
The Heroku Ruby Client is used to interact with the Heroku API from Ruby.
For more about the Heroku API see <http://api-docs.heroku.com>.
-[![Build Status](https://secure.travis-ci.org/heroku/heroku.rb.png)](https://secure.travis-ci.org/heroku/heroku.rb)
+[![Build Status](https://travis-ci.org/heroku/heroku.rb.png)](https://travis-ci.org/heroku/heroku.rb)
Usage
-----
Start by creating a connection to Heroku with your credentials:
@@ -105,16 +105,18 @@
heroku.get_user # list user info
Mock
----
-For practice or testing you can also use a simulated Heroku:
+For testing (or practice) you can also use a simulated Heroku account:
require 'heroku-api'
heroku = Heroku::API.new(:api_key => API_KEY, :mock => true)
-After that commands should still behave the same, but they will only modify some local data instead of updating the state of things on Heroku.
+Commands will now behave as normal, however, instead of interacting with your actual Heroku account you'll be interacting with a **blank** test account. Note: test accounts will have NO apps to begin with. You'll need to create one:
+
+ heroku.post_app(:name => 'my-test-app')
Tests
-----
To run tests, first set `ENV['HEROKU_API_KEY']` to your api key. Then use `bundle exec rake` to run mock tests or `MOCK=false bundle exec rake` to run integration tests.