Skip to content

brilliantfantastic/fake_chargify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A test faker for faking requests and responses to and from the Chargify API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages