test/gravatarify_integration_test.rb in gravatarify-0.7.0 vs test/gravatarify_integration_test.rb in gravatarify-1.0.0

- old
+ new

@@ -2,10 +2,10 @@ begin; require 'activerecord'; rescue LoadError; end begin; require 'dm-core'; rescue LoadError; end require 'gravatarify' class GravatarifyIntegrationTest < Test::Unit::TestCase - def setup; Gravatarify.options.clear end + def setup; reset_gravatarify! end context "ActiveRecord::Base" do if defined?(ActiveRecord) should "include Gravatarify::ObjectSupport" do assert ActiveRecord::Base.included_modules.include?(Gravatarify::ObjectSupport)