Sha256: 857b9c051cab91cbe659a0651bd0e59aa6a3a430981f86aee587c0da72bcff63

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 Bytes

Contents

require 'rspec/core'

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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pundit-matchers-1.2.2 lib/pundit/matchers.rb
pundit-matchers-1.2.1 lib/pundit/matchers.rb