test/integrations/views_integration_test.rb in errdo-0.12.12 vs test/integrations/views_integration_test.rb in errdo-0.12.13

- old
+ new

@@ -29,11 +29,13 @@ get @errdo.error_path(Errdo::Error.last, occurrence_index: 0) assert_response :success end should "strip off asset hash" do - get static_view_error_path - assert_nil Errdo::Error.last.backtrace[0] =~ /[_]{1,}[0-9]+/ + get static_embedded_partial_error_path + Errdo::Error.last.backtrace.each do |backtrace| + assert_nil backtrace =~ /[_]{1,}[0-9]+/ + end end end end