Sha256: a4cf2ad030598c7547718183fb6d20ea47a573c2cdea272fbe9de9a57fcf195f
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
require 'rubygems' require 'bundler/setup' require 'artikcloud' require 'vcr' require 'typhoeus' require 'json' require 'yaml' require 'factory_girl' require 'rspec' require 'pry' VCR.configure do |config| config.cassette_library_dir = "spec/fixtures/cassettes" config.hook_into :webmock # or :fakeweb config.configure_rspec_metadata! end RSpec.configure do |config| # some (optional) config here config.include FactoryGirl::Syntax::Methods config.expect_with :rspec do |c| c.syntax = :expect end config.mock_with :rspec do |c| c.syntax = :expect end config.before(:suite) do FactoryGirl.find_definitions end end WebMock.allow_net_connect! if defined? WebMock def help puts "\n\n" exit end def prepare_api_client configuration = ArtikCloud::Configuration.new configuration.access_token = ACCESS_TOKEN configuration.debugging = false api_client = ArtikCloud::ApiClient.new(configuration) return api_client end ACCESS_TOKEN = 'fa460261b858484583097ecb331faaa8' API_CLIENT = prepare_api_client
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
artikcloud-2.1.0 | spec/spec_helper.rb |
artikcloud-2.0.8 | spec/spec_helper.rb |
artikcloud-2.0.7 | spec/spec_helper.rb |