spec/spec_helper.rb in warden-github-0.12.1 vs spec/spec_helper.rb in warden-github-0.13.0
- old
+ new
@@ -1,12 +1,17 @@
-Bundler.require(:default, :runtime, :test)
+require 'simplecov'
+SimpleCov.start do
+ add_filter '/spec'
+ add_filter '/example'
+end
-require File.join(File.dirname(__FILE__), '..', 'lib', 'warden-github')
-require File.join(File.dirname(__FILE__), 'app')
+require 'warden/github'
+require File.expand_path('../../example/app', __FILE__)
require 'rack/test'
require 'webrat'
require 'addressable/uri'
require 'pp'
+require 'webmock/rspec'
Webrat.configure do |config|
config.mode = :rack
config.application_port = 4567
end