Closed junyu-w closed 8 years ago
No test to cover this bug?
Ideally, anytime we have a bug, we write a test to ensure that the debug does not recur, and to have a mechanism to ensure that it really is fixed ...
@tansaku it's weird that test failed on CI but passed locally...looks like the projects were not actually created in the test db on CI.
Did this happen to other rspec tests before?
@DrakeW have not seen this before ... I've restarted the build ...
@tansaku creating projects with metric_samples using factory fixed the problem :)
@DrakeW glad the build is green. Do we want acceptance (i.e. cucumber) tests for bug fixes?
@tansaku I think it's ok to leave acceptance test for the bug fix since I don't think there are any missing part for this bug fix that Rspec didn't cover
PT story: https://www.pivotaltracker.com/story/show/134337421