spec/spec_helper.rb in board-client-0.3.0 vs spec/spec_helper.rb in board-client-0.99.0

- old
+ new

@@ -1,12 +1,13 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'board-client' -require 'spec' -require 'spec/autorun' -require 'webmock/rspec' +require 'rspec' -require 'yajl/json_gem' # required for webmock +Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} -Spec::Runner.configure do |config| +Board::Client.default_endpoint = 'http://localhost:3000/api/v1' + +require 'webmock/rspec' +RSpec.configure do |config| config.include WebMock::API end