thoughtbot/shoulda-matchers — Issue #53: using validate_presence_of and validate_uniqueness_of with i18n raise error
Author: anujaware
Created: 2012-02-17 14:15:24+00:00
State: open

It gives error
Failure/Error: it { should validate_uniqueness_of(:scheme_id).scoped_to(:designation_id) }
Expected errors to include "%{model} is already exist" when scheme_id is set to 1732, got errors: ["scheme_id Designations scheme is already exist (1732)", "scheme_id Sale Scheme Designations scheme is already exist (1732)", "scheme_type Designations scheme is already exist (3)"]