Hello,
My cucumber scenario tests if my news can be create without a title. This must show "You must specify a title.".
In my news model, I have:
validates_presence_of :title, :message => I18n.t(:specify, :what => 'a title')
and in my en.yml have got :
specify: "You must specify %{what}."
but when I run my test, the result is "translation missing: en, specify".
On the other side, if my I18n.t is in a controller, it works perfectly. And when I go to the browser to test by myself, it also works.
rails 3.0.0, cucumber 0.9.2 and i18n 0.4.1
Thanks in advance.