This is the 'TEST APP', dead simple client for SponsorPay API.
- Ruby 2.0.0
$ git clone https://github.com/skodnick/test_app.git
$ cd /path/to/test_app
$ bundle installPlease copy sponsor_pay_sample.yml as sponsor_pay.yml like this:
$ cd /path/to/test_app
$ cp config/sponsor_pay_sample.yml config/sponsor_pay.ymlAnd then make sure that every param has its value.
NOTE: These params are needed it tests as well, so please make sure that params are set for TEST environment.
$ cd /path/to/test_app
$ bundle exec rails s
$ open http://localhost:3000$ bundle exec rspec spec