Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A test faker for faking requests and responses to and from the Chargify API
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Rakefile
fake_chargify.gemspec
readme.md

readme.md

fake_chargify

fake_chargify is a helper for faking web requests and responses to and from the Chargify API. You can test Chargify within your application on a plane now. I am sure that happens all the time.

Installation

gem 'fake_chargify'
require 'fake_chargify'

The basics

Example, in spec_helper.rb

FakeChargify.activate!
RSpec.configure do |c|
  c.before do
    FakeChargify.clear!
  end
end
Something went wrong with that request. Please try again.