Sha256: 389623b942d1a2736c39157275c5b4aa3ae454482568e231caab634b4a65daa6
Contents?: true
Size: 765 Bytes
Versions: 4
Compression:
Stored size: 765 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' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chargify_api_ares-0.2.5 | spec/spec_helper.rb |
chargify_api_ares-0.2.4 | spec/spec_helper.rb |
chargify_api_ares-0.2.3 | spec/spec_helper.rb |
chargify_api_ares-0.2.2 | spec/spec_helper.rb |