lundi 30 mai 2022

warning: constant ::Fixnum is deprecated: when running Rails system Test

/home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/to_yn-19b0672ab1d4/lib/to_yn.rb:21: warning: constant ::Fixnum is deprecated /home/umairraza/Documents/remotecounsel/config/initializers/constants.rb:17: warning: already initialized constant STAGING_MAIL_RECIPIENTS /home/umairraza/Documents/remotecounsel/config/initializers/constants.rb:16: warning: previous definition of STAGING_MAIL_RECIPIENTS was here /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:35: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:109: warning: The called method initialize' is defined here /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.1.7/lib/active_record/scoping/default.rb:91: warning: Capturing the given block using Proc.new is deprecated; use &blockinstead /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.1.7/lib/active_record/scoping/default.rb:91: warning: Capturing the given block using Proc.new is deprecated; use&blockinstead /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:167: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /home/umairraza/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/column.rb:16: warning: The called methodinitialize' is defined here Monkeypatch for ActionController::TestResponse is no longer needed rails aborted! LoadError: cannot load such file -- cuprite /home/umairraza/Documents/remotecounsel/test/application_system_test_case.rb:2:in <top (required)>' /home/umairraza/Documents/remotecounsel/test/system/rooms_test.rb:1:in <top (required)>' bin/rails:4:in require' bin/rails:4:in ' Tasks: TOP => test:system (See full trace by running task with --trace) Coverage report generated for Unit Tests to /home/umairraza/Documents/remotecounsel/coverage. 373 / 17565 LOC (2.12%) covered. Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected

Aucun commentaire:

Enregistrer un commentaire