Sha256: a9cbe805d8e07d313d6774c4f05b4a331505e03cc90097c0f4240385d2ece141
Contents?: true
Size: 786 Bytes
Versions: 5
Compression:
Stored size: 786 Bytes
Contents
require 'rubygems' require 'spec' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'chargify_api_ares' require 'fakeweb' require 'mocks/fake_resource' ActiveResource::Base.send :include, ActiveResource::FakeResource FakeWeb.allow_net_connect = false require 'factory_girl' require 'faker' require 'factories' Chargify.configure do |c| c.subdomain = 'test' c.api_key = 'test' end Spec::Runner.configure do |config| config.after(:each) do ActiveResource::FakeResource.clean 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
5 entries across 5 versions & 2 rubygems