Skip to content

Commit

Permalink
Resolve TypeError: Cannot dup ENV, use ENV.to_h to get a copy of ENV …
Browse files Browse the repository at this point in the history
…as a hash
  • Loading branch information
Phillip Aldridge committed Nov 8, 2023
1 parent e9d2b79 commit 015888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/warbler/web_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.reset_local_repository

describe Warbler::WebServer::Artifact do

@@_env = ENV.dup
@@_env = ENV.to_h

after(:all) { ENV.clear; ENV.update @@_env }

Expand Down

0 comments on commit 015888b

Please sign in to comment.