Skip to content

Commit

Permalink
Use descriptive block variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-antonopoulos committed Oct 30, 2024
1 parent 601b3c3 commit a562c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/generators/suspenders/install/web_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class WebGeneratorTest < Rails::Generators::TestCase
def prepare_destination
touch "Gemfile"

File.open("test/dummy/Gemfile", "w") do |f|
f.write('source "https://rubygems.org"')
File.open("test/dummy/Gemfile", "w") do |gemfile|
gemfile.write('source "https://rubygems.org"')
end
end

Expand Down

0 comments on commit a562c85

Please sign in to comment.