Sha256: c5c565e6f892e7f47db99247af6bc9b7b9481d7eb07283c0295e59d94eeef39b
Contents?: true
Size: 1.05 KB
Versions: 8
Compression:
Stored size: 1.05 KB
Contents
$:.unshift File.expand_path('../lib', File.dirname(__FILE__)) require 'bundler' Bundler.require(:default, :development) require 'support/fake_resource' require 'pry' FactoryGirl.find_definitions ActiveResource::Base.send :include, ActiveResource::FakeResource FakeWeb.allow_net_connect = false Chargify.configure do |c| c.subdomain = 'test' c.api_key = 'test' end RSpec.configure do |config| config.filter_run :focused => true config.run_all_when_everything_filtered = true config.treat_symbols_as_metadata_keys_with_true_values = true config.alias_example_to :fit, :focused => true config.color_enabled = true config.include FactoryGirl::Syntax::Methods config.before(:each, :fake_resource) do ActiveResource::FakeResource.enable end config.after(:each, :fake_resource) do ActiveResource::FakeResource.disable end end def test_domain "#{Chargify::Base.connection.site.scheme}://#{Chargify::Base.connection.user}:#{Chargify::Base.connection.password}@#{Chargify::Base.connection.site.host}:#{Chargify::Base.connection.site.port}" end
Version data entries
8 entries across 8 versions & 1 rubygems