diff options
-rw-r--r-- | spec/runtime/executable_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/runtime/executable_spec.rb b/spec/runtime/executable_spec.rb index 5f236c9dde..545fc97330 100644 --- a/spec/runtime/executable_spec.rb +++ b/spec/runtime/executable_spec.rb @@ -152,9 +152,7 @@ RSpec.describe "Running bin/* commands" do gem "rack" G - File.open(bundled_app("bin/rackup"), "wb") do |file| - file.print "OMG" - end + create_file("bin/rackup", "OMG") bundle! "binstubs rack" |