Sha256: f12013373f177f7df1d63d61d0fbbb747493c633454a65fdc9d3fd6285e96000
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 Bytes
Contents
require 'google-authenticator-rails' require 'time' require 'active_record' require 'rotp' ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :database => ':memory:' ) ActiveRecord::Schema.define do self.verbose = false create_table :users, :force => true do |t| t.string :google_secret t.string :email t.string :user_name t.timestamps end create_table :custom_users, :force => true do |t| t.string :mfa_secret t.string :email t.string :user_name t.timestamps end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-authenticator-rails-0.0.2 | spec/spec_helper.rb |
google-authenticator-rails-0.0.1 | spec/spec_helper.rb |