thoughtbot / shoulda

Makes tests easy on the fingers and the eyes

Home Page:http://www.thoughtbot.com/community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot upgrade to shoulda ~> 3.1.0

jarl-dk opened this issue · comments

When upgrading to shoulda from ~> 3.0.0 to ~> 3.1.0 I run into lots of

NoMethodError: undefined method `valid?' for nil:NilClass

In simple unit tests like

should_not allow_value("hello~world").for(:theme_name)