Sha256: 9949f927b4792d702da56da8acdf5a1de820aee54e5bb4d2e47828436517654c

Contents?: true

Size: 873 Bytes

Versions: 1

Compression:

Stored size: 873 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'unread'

$LOAD_PATH.unshift(File.expand_path('..', File.dirname(__FILE__)))
require 'lib/generators/unread/migration/templates/migration.rb'
require 'spec/support/spec_migration.rb'

require 'spec/app/models/reader'
require 'spec/app/models/different_reader'
require 'spec/app/models/sti_reader'
require 'spec/app/models/email'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

ActiveRecord::Base.configurations = YAML.load_file('spec/database.yml')
ActiveRecord::Base.establish_connection((ENV['DB'] || 'sqlite').to_sym)
ActiveRecord::Migration.verbose = false

UnreadMigration.up
SpecMigration.up

require 'irb'
IRB.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unread-0.7.1 bin/console