Sha256: d0abe73a9acb3ad7cf73cb44e50cec0536f42b32aa8bdfff69c701657a56c0bf

Contents?: true

Size: 858 Bytes

Versions: 10

Compression:

Stored size: 858 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'bundler'
require 'api_resource'
require 'simplecov'


SimpleCov.start do
  add_filter "/spec/"
end

SimpleCov.at_exit do
  SimpleCov.result.format!
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Bundler.require(:default, :development)
Debugger.start

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
#ApiResource.load_mocks_and_factories
ApiResource.site = 'http://localhost:3000'
ApiResource.format = :json
ApiResource.load_mocks_and_factories

ApiResource.logger.level = Log4r::INFO

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}



RSpec.configure do |config|
  config.mock_with :mocha
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
api_resource-0.2.11 spec/spec_helper.rb
api_resource-0.2.10 spec/spec_helper.rb
api_resource-0.2.9 spec/spec_helper.rb
api_resource-0.2.8 spec/spec_helper.rb
api_resource-0.2.7 spec/spec_helper.rb
api_resource-0.2.6 spec/spec_helper.rb
api_resource-0.2.5 spec/spec_helper.rb
api_resource-0.2.4 spec/spec_helper.rb
api_resource-0.2.3 spec/spec_helper.rb
api_resource-0.2.2 spec/spec_helper.rb