Sha256: 763119fb9f9eddc4a92bc11fb606d53383c4e3e87c5bdb5be2421d8bd164fb87

Contents?: true

Size: 420 Bytes

Versions: 14

Compression:

Stored size: 420 Bytes

Contents

require_relative 'rspec/db'

module SchemaDev
  module Rspec

    def self.setup
      SchemaMonkey.insert
      Db.setup
    end

    def self.setup_db
      ActiveSupport::Deprecation.warn "SchemaDev::Rspec.setup_db is deprecated.  Use SchemaDev::Rspec.setup"
      self.setup
    end

    def self.db_configuration
      Db.configuration
    end

    module Helpers
      extend Rspec::Db::Helpers
    end
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
schema_dev-3.2.4 lib/schema_dev/rspec.rb
schema_dev-3.2.3 lib/schema_dev/rspec.rb
schema_dev-3.2.2 lib/schema_dev/rspec.rb
schema_dev-3.2.1 lib/schema_dev/rspec.rb
schema_dev-3.2.0 lib/schema_dev/rspec.rb
schema_dev-3.1.1 lib/schema_dev/rspec.rb
schema_dev-3.1.0 lib/schema_dev/rspec.rb
schema_dev-3.0.1 lib/schema_dev/rspec.rb
schema_dev-3.0.0 lib/schema_dev/rspec.rb
schema_dev-2.0.4 lib/schema_dev/rspec.rb
schema_dev-2.0.3 lib/schema_dev/rspec.rb
schema_dev-2.0.2 lib/schema_dev/rspec.rb
schema_dev-2.0.1 lib/schema_dev/rspec.rb
schema_dev-2.0.0 lib/schema_dev/rspec.rb