SpreeAffirm

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_affirm', :github => "affirm/spree_affirm"

  2. Install the gem using Bundler:

    bundle install
    
  3. Copy & run migrations

    bundle exec rails g spree_affirm:install
    
  4. Restart your server

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

When testing your applications integration with this extension you may use its factories.
Simply add this require statement to your spec_helper:

require 'spree_affirm/factories'

Copyright (c) 2015 Affirm, released under the New BSD License

Comments

No comments yet

Please login to add comment.