Sha256: a763cb2972f96882716d775a391fb6ade4ae411c19db7c61799b9028309e2538
Contents?: true
Size: 642 Bytes
Versions: 4
Compression:
Stored size: 642 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) # load Rails first require 'rails' require 'html5_validators' # needs to load the app before loading rspec/rails => capybara require 'fake_app' require 'rspec/rails' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.before :all do ActiveRecord::Migration.verbose = false CreateAllTables.up unless ActiveRecord::Base.connection.table_exists? 'people' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
html5_validators-1.1.3 | spec/spec_helper.rb |
html5_validators-1.1.2 | spec/spec_helper.rb |
html5_validators-1.1.1 | spec/spec_helper.rb |
html5_validators-1.1.0 | spec/spec_helper.rb |