Sha256: 088da83acbcf4148204419bd3292fdfc94cfdff7e0855e058dc430c5459dd672

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

require "rspec"
require "social_profile"
require 'fb_graph/mock'

include FbGraph::Mock

# 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.2.1 spec/spec_helper.rb
social_profile-0.2.0 spec/spec_helper.rb