Sha256: 6edc98c93a9e43691cc7898d2d5168423bb88670a48b7a634263850cd307f2b9

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

require 'active_record'
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"

ActiveRecord::Migration.create_table :token_tests do |t|
  t.string :scope
  t.string :token
  t.string :token_two
  t.timestamps
end

class TokenTest < ActiveRecord::Base
  set_table_name 'token_tests'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar-tokens-0.0.5 spec/support/active_record.rb
ar-tokens-0.0.4 spec/support/active_record.rb