Sha256: 267247c1f90e8e6270d449e015eaeee5d89a7cae29afe572b6723a6d2e777830
Contents?: true
Size: 895 Bytes
Versions: 10
Compression:
Stored size: 895 Bytes
Contents
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => ':memory:' ActiveRecord::Base.configurations = true ActiveRecord::Migration.verbose = false require 'authpwn_rails/generators/templates/001_create_users.rb' CreateUsers.migrate :up require 'authpwn_rails/generators/templates/003_create_credentials.rb' CreateCredentials.migrate :up require 'authpwn_rails/generators/templates/user.rb' require 'authpwn_rails/generators/templates/credential.rb' # :nodoc: open TestCase to setup fixtures class ActiveSupport::TestCase include ActiveRecord::TestFixtures self.fixture_path = File.expand_path '../../../lib/authpwn_rails/generators/templates', __FILE__ self.use_transactional_fixtures = false self.use_instantiated_fixtures = false self.pre_loaded_fixtures = false fixtures :all end
Version data entries
10 entries across 10 versions & 1 rubygems