Comments (1)
- Removing the quietly block
$ git diff
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 21a1587c74..7158b1232e 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -1506,7 +1506,7 @@ def run_app_update(app_root = destination_root, flags: "--force")
gemfile_contents.sub!(/^(gem "rails").*/, "\\1, path: #{File.expand_path("../../..", __dir__).inspect}")
File.write("Gemfile", gemfile_contents)
- quietly { system({ "BUNDLE_GEMFILE" => "Gemfile" }, "bin/rails app:update #{flags}", exception: true) }
+ system({ "BUNDLE_GEMFILE" => "Gemfile" }, "bin/rails app:update #{flags}", exception: true)
end
end
$
- Run the same test shows the actual error message "Could not find gem 'kamal' in locally installed gems."
$ bin/test test/generators/app_generator_test.rb:434
Run options: --seed 23390
# Running:
Could not find gem 'kamal' in locally installed gems.
Run `bundle install` to install missing gems.
E
Error:
AppGeneratorTest#test_app_update_does_not_change_app_name_when_app_name_is_hyphenated_name:
RuntimeError: Command failed with exit 7: bin/rails
test/generators/app_generator_test.rb:1509:in `system'
test/generators/app_generator_test.rb:1509:in `block in run_app_update'
test/generators/app_generator_test.rb:1504:in `chdir'
test/generators/app_generator_test.rb:1504:in `run_app_update'
test/generators/app_generator_test.rb:448:in `test_app_update_does_not_change_app_name_when_app_name_is_hyphenated_name'
bin/test test/generators/app_generator_test.rb:434
Finished in 0.794015s, 1.2594 runs/s, 15.1131 assertions/s.
1 runs, 12 assertions, 0 failures, 1 errors, 0 skips
$
from rails.
Related Issues (20)
- `ActiveSupport::BroadcastLogger` with `ActiveSupport::TaggedLogging` throws `no implicit conversion of String into Integer (TypeError)` HOT 3
- Guides: Explain reset_column_information in Chapter "Migrations and Seed Data"
- One of `ApplicationTests::ConfigurationTest` fails with sqlite3 gem that bundles sqlite v3.46.0 HOT 3
- Add a datetime_local method on Time and DateTime classes - typical rails convenience HOT 1
- Deferred route drawing causes problems with some tests
- Incorrect documentation for authenticate_or_request_with_http_token HOT 1
- Regression in URL generation in Rails 7.1 HOT 13
- ActionCable tests fail when encrypted cookie is set with options
- Turbo depends on ActiveJob::Base but no error when I start a project with `rails new . --skip-active-job` HOT 1
- ActionPack 7.1.3.3 Selenium DriverFinder.path(options, service_class) deprecation is NOT fixed HOT 1
- warning: the block passed to 'Arel::Collectors::Bind#add_bind' defined at /rails/activerecord/lib/arel/collectors/bind.rb:16 may be ignored
- Association klass with same demodularized name raises error when demodularized class is undefined
- Blog sample failing on windows 11 HOT 4
- Rails 7.2: Memoization of the ActiveJob adapter class happens too early HOT 2
- Rails 7.1 raises exception while trying to increment counter cache on model using CPK HOT 1
- Rails 7.2: Parsing tests with prism makes it impossible to run spec-style tests by line number
- Ability to split locals magic comment into multiple lines
- `EarlyHintsRequestTest#test_when_early_hints_is_set_in_the_env_link_headers_are_sent` fails with since https://github.com/rack/rack/pull/1831 HOT 2
- Command `rails devcontainer` failed - missing templates HOT 2
- `.pluck` with multiple sql fragment arguments using `min` incorrectly casts types when using PostgreSQL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails.