spec/spec_helper.rb in social_profile-0.3.0 vs spec/spec_helper.rb in social_profile-0.3.1
- old
+ new
@@ -1,11 +1,9 @@
require "rspec"
require "social_profile"
-require 'fb_graph/mock'
+require 'webmock/rspec'
-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
@@ -22,6 +20,6 @@
end
end
def fixture(file)
File.read(SocialProfile.root_path.join('spec/mock_json', file))
-end
\ No newline at end of file
+end