spec/steam/news_spec.rb in steam-api-1.0.1 vs spec/steam/news_spec.rb in steam-api-1.0.2
- old
+ new
@@ -1,15 +1,15 @@
require 'spec_helper'
describe Steam::News do
describe '.get' do
it 'should allow users to look up a list news for an app' do
- Steam::News.get(440)
- .should_not be_nil
+ expect(Steam::News.get(440))
+ .to_not be_nil
end
it 'should allow users to look up a list news for an app' do
news = Steam::News.get(440)
- news.count.should == 20
+ expect(news.count).to eq(20)
end
end
end