Reputation: 36244
I´m testing my rails app using rspec and remarkable.
I have the following spec
describe Trade do
it { should validate_presence_of(:type) }
end
when I run it I get the failure
'Trade should require {{attributes}} to be set' FAILED
The failure itself is right once my validations are not yet implemented but why didn´t rspec replaced {{attributes}} by type?
Env.:
Rails: 2.3.9
Ruby: 1.8.7
Windows Vista
Upvotes: 1
Views: 77
Reputation: 425
In your remarkable locale file just replace all the {{}}'s with %{}.
Upvotes: 1