diff --git a/spec/controllers/changes_controller_spec.rb b/spec/controllers/changes_controller_spec.rb index 334d837..2d4efdc 100644 --- a/spec/controllers/changes_controller_spec.rb +++ b/spec/controllers/changes_controller_spec.rb @@ -3,7 +3,7 @@ require 'paper_trail/frameworks/rspec' RSpec.describe ChangesController do - describe 'GET #undo', versioning: true do + describe 'GET #undo', :versioning do let(:change_user) { create :user } let(:assignment) { create :assignment } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6c2a4a1..7b63ae2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -10,6 +10,7 @@ require 'rspec/rails' require 'rack_session_access/capybara' require 'umts_custom_matchers' +require 'paper_trail/frameworks/rspec' ActiveRecord::Migration.maintain_test_schema! Timecop.safe_mode = true