SORRY, it has NOT solved the problem, Any ideas?

On Friday, 22 February 2013 11:05:18 UTC+1, Javix wrote:
>
> adding just the below to TimeEntry model fixed the problem and makes the 
> test pass:
>
> class TimeEntry < ActiveRecord::Base
> ...
>   validates :worktime, presence: true, inclusion: { in: [0.5, 1] }
> ...
> end
>
> Regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/8BLnK0cTKq0J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to