Sha256: 990617afb22a8ef32e81d2cebb6ad6b71e41d698fd501108c1720f91e838b1ef

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

require "rspec"
require "social_profile"
require 'webmock/rspec'

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

RSpec.configure do |config|
  # Remove this line if you don't want RSpec's should and should_not
  # methods or matchers
  require 'rspec/expectations'
  config.include RSpec::Matchers

  # WebMock.allow_net_connect!

  # == Mock Framework
  config.mock_with :rspec

  config.after(:all) do
  end
end

def fixture(file)
  File.read(SocialProfile.root_path.join('spec/mock_json', file))
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
social_profile-0.3.2 spec/spec_helper.rb
social_profile-0.3.1 spec/spec_helper.rb