When I change the test to:
expected = '<title>Bank of Canada: Noon Foreign Exchange
Rates</title>'
fx_doc.xpath('//rdf:RDF/xmlns:channel/xmlns:title').should =~ expected
Then I see this instead:
expected: "<title>Bank of Canada: Noon Foreign Exchange
Rates</title>",
got: <title>Bank of Canada: Noon Foreign Exchange Rates</title>
(using =~)
What is adding the double quotes?
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users