diff --git a/spec/dummy/spec/features/rails_context_spec.rb b/spec/dummy/spec/features/rails_context_spec.rb index 169590f10..2c4202297 100644 --- a/spec/dummy/spec/features/rails_context_spec.rb +++ b/spec/dummy/spec/features/rails_context_spec.rb @@ -20,7 +20,7 @@ port = Capybara.current_session.server.port host_port = "#{host}:#{port}" keys_to_vals = { - href: "http://#{host_port}/#{pathname}?ab=cd#123", + href: "http://#{host_port}/#{pathname}?ab=cd", location: "/#{pathname}?ab=cd#123", port: port, scheme: "http", diff --git a/spec/dummy/spec/requests/server_render_check_spec.rb b/spec/dummy/spec/requests/server_render_check_spec.rb index e39af258e..934f9d6a9 100644 --- a/spec/dummy/spec/requests/server_render_check_spec.rb +++ b/spec/dummy/spec/requests/server_render_check_spec.rb @@ -65,13 +65,13 @@ def check_match(pathname, id_base) html_nodes = Nokogiri::HTML(response.body) top_id = "##{id_base}-react-component-0" keys_to_vals = { - href: "http://www.example.com/#{pathname}?ab=cd#123", + href: "http://www.example.com/#{pathname}?ab=cd", location: "/#{pathname}?ab=cd#123", scheme: "http", host: "www.example.com", pathname: "/#{pathname}", search: "ab=cd", - fragment: "#123", + fragment: "123", i18nLocale: "en", i18nDefaultLocale: "en", httpAcceptLanguage: http_accept_language,