Sha256: d55132fa62fba95dda087be2f93d47e28c35f602b14adba3635f856479e121dd

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require "spec_helper"
require "shared/unique_attributes_examples"
require "config/test_setup_migration"

RSpec.describe "SQLite3" do
  before :all do
    ActiveRecord::Base.establish_connection(:sqlite3_test)
    TestSetupMigration.migrate(:up)
  end

  include_examples ".unique_attribute"

  after :all do
    ActiveRecord::Base.remove_connection
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unique_attributes-0.1.2 spec/sqlite3_spec.rb
unique_attributes-0.1.0 spec/sqlite3_spec.rb