Add specs for Policies (#392)

* Add specs for Policies

* Fix CI issues
This commit is contained in:
Mukesh Chaudhary
2019-12-28 01:27:59 +05:30
committed by Sojan Jose
parent 19b4311e8b
commit 96f8070e79
5 changed files with 98 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ require File.expand_path('../config/environment', __dir__)
# Prevent database truncation if the environment is production
abort('The Rails environment is running in production mode!') if Rails.env.production?
require 'rspec/rails'
require 'pundit/rspec'
# Add additional requires below this line. Rails is not loaded until this point!