Displaying 1 result from an estimated 1 matches for "xpjurisdictionstate".
2011 Mar 01
11
Did rails or shoulda go insane on the inflection of 'taxes'?
...correctly.
Another model ''xp_jurisdiction_states'' has many :xp_jurisdiction_taxes.
In my spec I am using a shoulda helper to test the association but get the
following error. BTW, greped the whole project just in case and the string
''taxi'' exists nowhere.
1) XpJurisdictionStates
Failure/Error: it { should have_many(:xp_jurisdiction_taxes) }
NameError:
uninitialized constant XpJurisdictionStates::XpJurisdictionTaxis
# ./spec/models/xp_jurisdiction_states_spec.rb:4:in `block (2 levels)
in <top (required)>''
Not sure if this is a rails or...