spec/smappy/static_map_spec.rb in smappy-0.0.2 vs spec/smappy/static_map_spec.rb in smappy-0.0.3
- old
+ new
@@ -119,9 +119,9 @@
let(:map) { Smappy::StaticMap.new(center: [50.9985099, 5.857652], zoomlevel: 15) }
it 'returns an image of the specified size' do
img = map.to_image
- [img.columns, img.rows].should == [500, 350]
+ [img.width, img.height].should == [500, 350]
end
end
end