Locale/localeapp — Issue #22: Compatibility with the Shoulda gem?
Author: watson
Created: 2012-02-28 22:26:01+00:00
State: open

I can't get LocaleApp to work when I also use Shoulda.

Take for instance this spec spiced up with Should:

```
descrive MyModel do
it { should validate_presence_of(:foo) }
end
```

Normally this passes fine, but when enabling LocaleApp, I now get the following error:

```
1) MyModel validation
Failure/Error: it { should validate_presence_of(:foo) }
Expected errors to include "en, activerecord.errors.messages.blank" when foo is set to nil, got errors: ["attr_a can't be blank (nil)", "attr_b is not a number (nil)", "attr_c is not a number (nil)", "foo can't be blank (nil)"]
# ./spec/models/my_model_spec.rb:2:in `block (3 levels) in '
```