spec/spec_helper.rb in deface-1.5.0 vs spec/spec_helper.rb in deface-1.5.1
- old
+ new
@@ -40,10 +40,10 @@
RSpec.configure do |config|
config.mock_framework = :rspec
end
-if Rails.version < "6.0.0.beta1"
+if Gem.loaded_specs["rails"].version < Gem::Version.new("6.0.0.beta1")
module ActionView::CompiledTemplates
#empty module for testing purposes
end
else
class ActionDispatch::DebugView