test/helper.rb in oprah-0.1.3 vs test/helper.rb in oprah-0.2.0
- old
+ new
@@ -1,11 +1,18 @@
require 'minitest/autorun'
require 'minitest/pride'
require 'oprah'
+require 'oprah/railtie'
require 'oprah/test_helpers'
+require 'dummy/init'
class Minitest::Test
include Oprah::TestHelpers
+
+ def setup
+ super
+ Oprah::Presenter.cache.clear
+ end
end
module Fixtures
module Entity
end