Skip to content

Commit

Permalink
Integrated ISIN into orignal gem
Browse files Browse the repository at this point in the history
  • Loading branch information
kairichard committed Nov 18, 2010
1 parent b04cb75 commit 8ae2c9a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/yahoo_finance_spec.rb
@@ -0,0 +1,9 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'yahoo_finance'

describe "YahooFinance" do
it "should consider ISINS to look up stock quotes" do
YahooFinance.get_HistoricalQuotes("DE0005190003",Date.parse("2010-11-11"),Date.parse("2010-11-11")).first.close.should == 54.42
end
end

0 comments on commit 8ae2c9a

Please sign in to comment.