Displaying 1 result from an estimated 1 matches for "xmlimport".
Did you mean:
xml_import
2008 May 17
5
Help needed
...an test this with rspec. However when I try to execute
it "should find country object for DE" do
I get an error. @user.country is a one-to-many relation in the user
table. It seems easy but I don''t get it (hmmmm feels like I am still a
newbie).
The error I get is:
''XmlImport should find country object for DE'' FAILED
expected #<Country:0x..fdb71beba @name="Country_1001">, got nil (using
.equal?)
Any help very appreciated.
Thanks
Jens
--- model ---
require ''hpricot''
class XmlImport #< ActiveRecord::Base
attr_reader :...