lib/spoom/test_helpers/project.rb in spoom-1.1.3 vs lib/spoom/test_helpers/project.rb in spoom-1.1.4

- old
+ new

@@ -80,19 +80,19 @@ sig { returns([T.nilable(String), T.nilable(String), T::Boolean]) } def bundle_install opts = {} opts[:chdir] = path out, err, status = Open3.capture3("bundle", "install", opts) - [out, err, status.success?] + [out, err, T.must(status.success?)] end # Run a command with `bundle exec` in this project sig { params(cmd: String, args: String).returns([T.nilable(String), T.nilable(String), T::Boolean]) } def bundle_exec(cmd, *args) opts = {} opts[:chdir] = path out, err, status = Open3.capture3(["bundle", "exec", cmd, *args].join(' '), opts) - [out, err, status.success?] + [out, err, T.must(status.success?)] end # Delete this project and its content sig { void } def destroy