test/integrations/views_integration_test.rb in errdo-0.9.0 vs test/integrations/views_integration_test.rb in errdo-0.9.1
- old
+ new
@@ -17,8 +17,13 @@
should "be able to successfully get the error's page" do
get @errdo.error_path(Errdo::Error.last)
assert_response :success
end
+
+ 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
end
end