lib/pundit/matchers.rb in pundit-matchers-1.2.0 vs lib/pundit/matchers.rb in pundit-matchers-1.2.1

- old
+ new

@@ -1,16 +1,16 @@ require 'rspec/core' -require_relative './matchers/forbid_action' -require_relative './matchers/forbid_actions' -require_relative './matchers/forbid_edit_and_update_actions' -require_relative './matchers/forbid_mass_assignment_of' -require_relative './matchers/forbid_new_and_create_actions' -require_relative './matchers/permit_action' -require_relative './matchers/permit_actions' -require_relative './matchers/permit_edit_and_update_actions' -require_relative './matchers/permit_mass_assignment_of' -require_relative './matchers/permit_new_and_create_actions' +require 'pundit/matchers/forbid_action' +require 'pundit/matchers/forbid_actions' +require 'pundit/matchers/forbid_edit_and_update_actions' +require 'pundit/matchers/forbid_mass_assignment_of' +require 'pundit/matchers/forbid_new_and_create_actions' +require 'pundit/matchers/permit_action' +require 'pundit/matchers/permit_actions' +require 'pundit/matchers/permit_edit_and_update_actions' +require 'pundit/matchers/permit_mass_assignment_of' +require 'pundit/matchers/permit_new_and_create_actions' if defined?(Pundit) RSpec.configure do |config| config.include Pundit::Matchers end