Sha256: a9abd31e181140354100414ac0b2a9bd9a1b87714d456d385d01bf9cde3d1ea1
Contents?: true
Size: 571 Bytes
Versions: 15
Compression:
Stored size: 571 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'vertebrae' require 'dummy/dummy' require 'dummy/client' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| end def reset_authentication_for(object) ['username', 'password'].each do |item| Vertebrae::Base.send("#{item}=", nil) object.send("#{item}=", nil) end end
Version data entries
15 entries across 15 versions & 1 rubygems