That would make sense.
Thanks for the help.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On 7 Nov 2007, at 14:49, Chris Olsen wrote:
> So now the question is, why does the data not exist in the test
> database. The country and province data inserts exist within the
> migration files, ex for countries:
As someone who knows literally nothing about how this all works, I
still feel con
Chris Olsen wrote:
> That is the problem, which is clear now that I tested it with the
> script/console in test mode rather than development.
>
> So now the question is, why does the data not exist in the test
> database. The country and province data inserts exist within the
> migration files
That is the problem, which is clear now that I tested it with the
script/console in test mode rather than development.
So now the question is, why does the data not exist in the test
database. The country and province data inserts exist within the
migration files, ex for countries:
class Crea
On Wed, 2007-11-07 at 06:39 +0100, Chris Olsen wrote:
> but when the specs are run I get errors saying that the country and
> province object properties are null
> 11)
> NoMethodError in 'Address additional properties should ensure spacing
> between the st/ave on the address'
> You have a nil obje
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country