Sha256: 894fb350f799368a5671fad59a77ff76af97809f99a811328a3b44df6306c9e7
Contents?: true
Size: 678 Bytes
Versions: 2
Compression:
Stored size: 678 Bytes
Contents
$:.unshift File.expand_path('../lib', __FILE__) require 'rspec' require 'sqlite3' require 'partisan' # Require our macros and extensions Dir[File.expand_path('../../spec/support/macros/*.rb', __FILE__)].map(&method(:require)) Dir[File.expand_path('../../spec/support/extensions/*.rb', __FILE__)].map(&method(:require)) RSpec.configure do |config| # Include our macros config.include DatabaseMacros config.include ModelMacros config.before(:each) do # Create the SQLite database setup_database # Run our migration run_default_migration end config.after(:each) do # Make sure we remove our test database file cleanup_database end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
partisan-0.1.1 | spec/spec_helper.rb |
partisan-0.1 | spec/spec_helper.rb |