spec/iex/endpoints/key_stats_spec.rb in iex-ruby-client-1.1.1 vs spec/iex/endpoints/key_stats_spec.rb in iex-ruby-client-1.1.2
- old
+ new
@@ -17,9 +17,10 @@
it 'weekly stats' do
expect(subject.week_52_high).to eq 136.04
expect(subject.week_52_high_dollar).to eq '$136.04'
expect(subject.week_52_low).to eq 95.92
expect(subject.week_52_low_dollar).to eq '$95.92'
+ expect(subject.week_52_change).to eq 0.371641
expect(subject.week_52_change_dollar).to eq '$0.37'
end
it 'general stats' do
expect(subject.ttm_dividend_rate).to eq 1.8