Skip to content

Commit

Permalink
run tests in rails3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
funny-falcon committed Dec 5, 2011
1 parent 92f548e commit 16c0e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -44,6 +44,7 @@ class ActiveRecord::Base
# load schema
load File.join('spec/fixtures/schema.rb')
# load fixtures
Fixtures = ActiveRecord::Fixtures unless defined?(Fixtures)
Fixtures.create_fixtures("spec/fixtures", ActiveRecord::Base.connection.tables)
end

0 comments on commit 16c0e08

Please sign in to comment.