diff --git a/spec/services/forest_liana/schema_adapter_spec.rb b/spec/services/forest_liana/schema_adapter_spec.rb index 2263974d..4a2e7921 100644 --- a/spec/services/forest_liana/schema_adapter_spec.rb +++ b/spec/services/forest_liana/schema_adapter_spec.rb @@ -43,7 +43,6 @@ module ForestLiana context 'when the polymorphic support was disabled' do it 'should not define the association' do - ENV['ENABLE_SUPPORT_POLYMORPHISM'] = 'false' Bootstrapper.new(true) collection = ForestLiana.apimap.find do |object| object.name.to_s == ForestLiana.name_for(Address) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 65ef2563..1ff43ef5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,7 +19,6 @@ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| ENV['RAILS_ENV'] = 'test' - ENV['ENABLE_SUPPORT_POLYMORPHISM'] = 'true' require File.expand_path('../dummy/config/environment', __FILE__)