Sha256: 703a0654cae96a80431d76f393140ab0ada49e512ad0a30f69eb5d6c46740015

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'backports'
require 'backports/basic_object'
require 'spec'
require 'spec/autorun'
require 'veritas'
require 'veritas-sql-generator'

include Veritas

# require spec support files and shared behavior
Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each { |f| require f }

Spec::Runner.configure do |config|

  # Record the original Attribute descendants
  config.before do
    @original_descendants = Attribute.descendants.dup
  end

  # Reset the Attribute descendants
  config.after do
    Attribute.descendants.replace(@original_descendants)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritas-do-adapter-0.0.6 spec/spec_helper.rb
veritas-do-adapter-0.0.5 spec/spec_helper.rb