lib/spree_mail.rb in spree_mail-0.40.0.3 vs lib/spree_mail.rb in spree_mail-0.40.0.4
- old
+ new
@@ -1,7 +1,15 @@
+if ENV["RAILS_ENV"] == "test"
+ require 'spree_core'
+ require 'spree_auth'
+ require 'sqlite3'
+end
+
require 'mail'
require 'mustache'
+require 'meta_search'
require 'spree_mail/custom_hooks'
+require 'spree_mail/has_token'
module SpreeMail
class Engine < Rails::Engine
\ No newline at end of file