Sha256: 3bcc047afbe330f70d8d4998c257ad8e0405b001e0c65e0118db6c53d6091c46

Contents?: true

Size: 415 Bytes

Versions: 15

Compression:

Stored size: 415 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
# load Rails first
require 'rails'
require 'active_record'
require 'action_controller/railtie'
require 'action_args'
require 'fake_app'
require 'rspec/rails'

RSpec.configure do |config|
  config.before :all do
    CreateAllTables.up unless ActiveRecord::Base.connection.table_exists? 'authors'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
action_args-1.5.4 spec/spec_helper.rb
action_args-1.5.3 spec/spec_helper.rb
action_args-1.5.2 spec/spec_helper.rb
action_args-1.5.1 spec/spec_helper.rb
action_args-1.4.0 spec/spec_helper.rb
action_args-1.3.0 spec/spec_helper.rb
action_args-1.2.1 spec/spec_helper.rb
action_args-1.2.0 spec/spec_helper.rb
action_args-1.1.1 spec/spec_helper.rb
action_args-1.1.0 spec/spec_helper.rb
action_args-1.0.4 spec/spec_helper.rb
action_args-1.0.3 spec/spec_helper.rb
action_args-1.0.2 spec/spec_helper.rb
action_args-1.0.1 spec/spec_helper.rb
action_args-1.0.0 spec/spec_helper.rb