Sha256: 12e8bfe8b5743e0eae5b5de194c19404863950f3550a2ca56e252488f7d61879

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

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'

if defined?(Pundit)
  RSpec.configure do |config|
    config.include Pundit::Matchers
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pundit-matchers-1.2.0 lib/pundit/matchers.rb