test/test_helper.rb in attr_searchable-0.0.1 vs test/test_helper.rb in attr_searchable-0.0.2

- old
+ new

@@ -77,9 +77,11 @@ ActiveRecord::Base.connection.execute "ALTER TABLE comments ENGINE=MyISAM" ActiveRecord::Base.connection.execute "ALTER TABLE comments ADD FULLTEXT INDEX(title, message)" end class AttrSearchable::TestCase + include FactoryGirl::Syntax::Methods + def teardown Product.delete_all Comment.delete_all end