test/integrations/views_integration_test.rb in errdo-0.12.1 vs test/integrations/views_integration_test.rb in errdo-0.12.2

- old
+ new

@@ -22,8 +22,13 @@ should "be able to get an error's page with a specific instance selected" do get @errdo.error_path(Errdo::Error.last, occurrence_id: Errdo::ErrorOccurrence.last) 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]+/ + end end end