Skip to content

Commit

Permalink
test: update tests without the env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasalexandre9 committed Jan 23, 2024
1 parent 07797b6 commit 300e259
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion spec/services/forest_liana/schema_adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down

0 comments on commit 300e259

Please sign in to comment.