require 'rubygems'
require 'bundler/setup'

require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
end

require 'lazy_resource'

require 'fixtures/comment'
require 'fixtures/post'
require 'fixtures/user'

module LazyResource
  autoload :HttpMock
end

LazyResource.configure do |config|
  config.site = "http://example.com"
end

RSpec.configure do |config|
  config.mock_with nil
end

require 'rubygems'
require 'bundler/setup'

require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
end

require 'lazy_resource'

require 'fixtures/comment'
require 'fixtures/post'
require 'fixtures/user'

module LazyResource
  autoload :HttpMock
end

LazyResource.configure do |config|
  config.site = "http://example.com"
end

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

Add the mock_with :rspec since newer versions of rspec apparently barf if you don't supply a mocker.
Add the mock_with :rspec since newer versions of rspec apparently barf if you don't supply a mocker.
