lib/aktion_test/module/timecop.rb in aktion_test-0.2.2 vs lib/aktion_test/module/timecop.rb in aktion_test-0.3.0
- old
+ new
@@ -1,11 +1,13 @@
module AktionTest
module Module
- module Timecop
- extend ActiveSupport::Concern
-
- included do |spec_helper|
+ class Timecop < Base
+ def prepare
require 'timecop'
+ end
+
+ def configure
+ rspec.after { ::Timecop.return }
end
end
end
end