spec/iex/endpoints/key_stats_spec.rb in iex-ruby-client-1.0.1 vs spec/iex/endpoints/key_stats_spec.rb in iex-ruby-client-1.1.0
- old
+ new
@@ -8,10 +8,10 @@
client.key_stats('MSFT')
end
it 'retrieves a keyStats' do
expect(subject.company_name).to eq 'Microsoft Corp.'
expect(subject.market_cap).to eq 990_869_169_557
- expect(subject.market_cap_dollars).to eq '$990,869,169,557'
+ expect(subject.market_cap_dollar).to eq '$990,869,169,557'
expect(subject.employees).to eq 133_074
end
it 'weekly stats' do
expect(subject.week_52_high).to eq 136.04