jhu-ep-coursera / fullstack-course1-module2

329 stars 1.23k forks source link

Suggestions for rspec in Mod 2 Lesson 2 Assignment #21

Closed Ninja4Code closed 8 years ago

Ninja4Code commented 8 years ago

I found some cases in the rspec that you could add to make the unit testing a bit more precise. I was able to pass all the unit tests with incorrect code. For example, if I merely filtered out elements > 9000 it still passed. So I took the liberty to add these three rspec tests.