Before this change, the tests used the same failure instance to test the red and yellow states. Instead of a list, we want to store errors in a set (https://github.com/bolshakov/stoplight/pull/172).
Each error serializes into a JSON string. Thus, storing two instances of the same failure in a set will result in just one instance being saved. So to accommodate these changes, I updated the specs to use different error instances.
Before this change, the tests used the same failure instance to test the red and yellow states. Instead of a list, we want to store errors in a set (https://github.com/bolshakov/stoplight/pull/172).
Each error serializes into a JSON string. Thus, storing two instances of the same failure in a set will result in just one instance being saved. So to accommodate these changes, I updated the specs to use different error instances.