Sha256: 37cf5fb5313a78ab926daf5c0234603f564811a779e00793e53405786b19aadc

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 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.3.0 spec/spec_helper.rb
social_profile-0.2.2 spec/spec_helper.rb