Skip to content

Commit

Permalink
fix test configuration warning
Browse files Browse the repository at this point in the history
test/environment.rb:49: warning: `**' interpreted as argument prefix
  • Loading branch information
kbrock committed Jun 10, 2022
1 parent ae24dad commit 88c4676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def self.setup
exit(1)
end
if ActiveRecord::VERSION::MAJOR >= 6
ActiveRecord::Base.establish_connection **config
ActiveRecord::Base.establish_connection(**config)
else
ActiveRecord::Base.establish_connection config
end
Expand Down

0 comments on commit 88c4676

Please sign in to comment.