From 655a52dc3b651053c55c6f0953cc65b3fdedd0cf Mon Sep 17 00:00:00 2001 From: "M.Shibuya" Date: Tue, 2 Jan 2018 17:14:28 +0900 Subject: [PATCH] Guard is needed for Mongoid builds --- spec/integration/history/rails_admin_paper_trail_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/history/rails_admin_paper_trail_spec.rb b/spec/integration/history/rails_admin_paper_trail_spec.rb index 6acb880e28..9d42c099a5 100644 --- a/spec/integration/history/rails_admin_paper_trail_spec.rb +++ b/spec/integration/history/rails_admin_paper_trail_spec.rb @@ -1,5 +1,5 @@ require 'spec_helper' -require 'paper_trail/frameworks/rspec' +require 'paper_trail/frameworks/rspec' if defined?(PaperTrail) describe 'RailsAdmin PaperTrail history', active_record: true do before(:each) do