Q. Is there anything special about the Rails test environment that would 
inhibit an ActivieResource object from connecting to an outside URL?

I am presently working inside the console with this expression:

>> forex = ForexCASource.find

and receiving a 404 error.

The resource is defined as:

class ForexCASource < ActiveResource::Base
  self.site         = 
'http://www.bankofcanada.ca/rss/fx/noon/fx-noon-all.xml'
end

I can reach the site url from a Firefox instance running on the same 
host using cut and paste so the url in the site assignment is valid.


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to