lib/jiminy.rb in jiminy-0.1.1 vs lib/jiminy.rb in jiminy-0.2.0
- old
+ new
@@ -1,9 +1,10 @@
# frozen_string_literal: true
require_relative "jiminy/version"
require_relative "jiminy/setup"
require_relative "jiminy/recording" if defined?(Rails)
+require_relative "jiminy/rspec" if defined?(Rspec) && ENV["RAILS_ENV"] == "test"
module Jiminy
module_function
def reset_results_file!