Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save prathamesh-sonpatki/3539aa86f8d10c5378222ce45bd9574a to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/3539aa86f8d10c5378222ce45bd9574a to your computer and use it in GitHub Desktop.
E
Error:
PolymorphicPathRoutesTest#test_irregular_plural_url_helper_prefixed_with_edit:
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:63:in `full_url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:53:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:338:in `block in <class:RouteSet>'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:211:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:330:in `block (2 levels) in define_url_helper'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:231:in `polymorphic_method'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:116:in `polymorphic_url'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:161:in `polymorphic_url_for_action'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:149:in `edit_polymorphic_url'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:548:in `block in test_irregular_plural_url_helper_prefixed_with_edit'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:666:in `block in with_test_routes'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/testing/assertions/routing.rb:175:in `with_routing'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:646:in `with_test_routes'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:546:in `test_irregular_plural_url_helper_prefixed_with_edit'
bin/test test/activerecord/polymorphic_routes_test.rb:545
.....E
Error:
PolymorphicPathRoutesTest#test_with_nil_in_list_for_resource_that_could_be_top_level_or_nested:
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:63:in `full_url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:53:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:338:in `block in <class:RouteSet>'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:211:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:330:in `block (2 levels) in define_url_helper'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:231:in `polymorphic_method'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:116:in `polymorphic_url'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:206:in `block in test_with_nil_in_list_for_resource_that_could_be_top_level_or_nested'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:681:in `block in with_top_level_and_nested_routes'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/testing/assertions/routing.rb:175:in `with_routing'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:671:in `with_top_level_and_nested_routes'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:204:in `test_with_nil_in_list_for_resource_that_could_be_top_level_or_nested'
bin/test test/activerecord/polymorphic_routes_test.rb:203
.E
Error:
PolymorphicPathRoutesTest#test_new_with_array_and_namespace:
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:63:in `full_url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:53:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:338:in `block in <class:RouteSet>'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:211:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:330:in `block (2 levels) in define_url_helper'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:231:in `polymorphic_method'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:116:in `polymorphic_url'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:381:in `block in test_new_with_array_and_namespace'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:703:in `block in with_admin_test_routes'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/testing/assertions/routing.rb:175:in `with_routing'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:686:in `with_admin_test_routes'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:380:in `test_new_with_array_and_namespace'
bin/test test/activerecord/polymorphic_routes_test.rb:379
..........E
Error:
PolymorphicPathRoutesTest#test_symbol_with_options:
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:63:in `full_url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:53:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:338:in `block in <class:RouteSet>'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:833:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:272:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:213:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:330:in `block (2 levels) in define_url_helper'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:233:in `polymorphic_method'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:116:in `polymorphic_url'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:115:in `block in test_symbol_with_options'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:666:in `block in with_test_routes'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/testing/assertions/routing.rb:175:in `with_routing'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:646:in `with_test_routes'
/Users/prathamesh/Projects/sources/rails/actionview/test/activerecord/polymorphic_routes_test.rb:114:in `test_symbol_with_options'
bin/test test/activerecord/polymorphic_routes_test.rb:113
..............................................................................................................................................................................................................................................................................................................................
Finished in 20.214307s, 121.3992 runs/s, 259.2223 assertions/s.
2454 runs, 5240 assertions, 0 failures, 24 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment