░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/gems/adheres_to_policy/spec
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: spec_helper.rb
# frozen_string_literal: true # # Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see <http://www.gnu.org/licenses/>. # This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration begin require "../../spec/coverage_tool" CoverageTool.start("adheres-to-policy-gem") rescue LoadError => e puts "Error: #{e}" end require "adheres_to_policy" RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.order = "random" config.after do Rails.cache.clear # Clean up after ourselves since its a class instance variable AdheresToPolicy::Cache.instance_variable_set(:@cache, nil) end end module Rails def self.cache @cache ||= ActiveSupport::Cache::MemoryStore.new end end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 adheres_to_policy/
DIR
—
2023-09-24 03:39
📄 spec_helper.rb
RB
1.6 KB
2023-09-24 03:36
EDIT