Sha256: 0cabebab5e7e943f2ef997a593b1024718e58565dd9912bb84e0b6334ca1d34b

Contents?: true

Size: 598 Bytes

Versions: 9

Compression:

Stored size: 598 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
$LOAD_PATH.unshift(File.dirname(__FILE__))
# load Rails first
require "rails"

# load the plugin
require "table_help"

# needs to load the app next
require "fake_app/application"

require "capybara/rspec"
require "capybara/rails"
require "pry"

RSpec.configure do |config|
  config.example_status_persistence_file_path = ".rspec_status"
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

CreateArticles.migrate(:up) unless ActiveRecord::Base.connection.table_exists? "articles"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
table_help-0.2.0 spec/spec_helper.rb
table_help-0.1.7 spec/spec_helper.rb
table_help-0.1.6 spec/spec_helper.rb
table_help-0.1.5 spec/spec_helper.rb
table_help-0.1.4 spec/spec_helper.rb
table_help-0.1.3 spec/spec_helper.rb
table_help-0.1.2 spec/spec_helper.rb
table_help-0.1.1 spec/spec_helper.rb
table_help-0.1.0 spec/spec_helper.rb