Skip to content

Commit

Permalink
Moved schema so it can be loaded from external apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
RichGuk committed Jan 10, 2012
1 parent 79b7df3 commit 040bac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -9,8 +9,8 @@
#ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ":memory:")
ActiveRecord::Migration.verbose = false
load 'test_schema.rb'
load 'active_press/schema.rb'

require 'active_press' # always load active_press after establishing connection for tests

FactoryGirl.find_definitions
FactoryGirl.find_definitions

0 comments on commit 040bac5

Please sign in to comment.