thoughtbot/shoulda

Cannot upgrade to shoulda ~> 3.1.0

jarl-dk opened this issue · 1 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)