Permalink
Browse files

Loading up an instance of Record before first migration is run in specs

  • Loading branch information...
1 parent 2a4a77a commit fab88766f5555ef51cf6ec2d0099ad066dfb5dce @winton committed Jan 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/spec_helper.rb
View
@@ -45,6 +45,8 @@
ActiveSupport::Dependencies.autoload_paths << "#{$root}/spec/fixtures/models"
ActiveSupport::Dependencies.autoload_paths << "#{$root}/spec/fixtures/helpers"
+ Record # Load up an instance so first also_migrate works
+
include SpecHelper
end

0 comments on commit fab8876

Please sign in to comment.