Sha256: e5a79038a35701a8dec375e5201e332b7b8f5d6568c921537e558b2eb0338ae9
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
require 'rubygems' require 'pathname' require 'fakeweb' require 'dm-validations' # Support running specs with 'rake spec' and 'spec' $LOAD_PATH.unshift('lib') unless $LOAD_PATH.include?('lib') require 'dm-rest-adapter' ROOT = Pathname(__FILE__).dirname.parent DataMapper.setup(:default, 'rest://admin:secret@localhost:4000/?format=xml') Pathname.glob((ROOT + 'spec/fixtures/**/*.rb').to_s).each { |file| require file } FakeWeb.allow_net_connect = false Spec::Runner.configure do |config| config.before :suite do DataMapper.finalize end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-rest-adapter-1.2.0 | spec/spec_helper.rb |
dm-rest-adapter-1.2.0.rc2 | spec/spec_helper.rb |
dm-rest-adapter-1.2.0.rc1 | spec/spec_helper.rb |