spec/integration/way_spec.rb in rosemary-0.4.1 vs spec/integration/way_spec.rb in rosemary-0.4.2
- old
+ new
@@ -34,11 +34,11 @@
describe '#find:' do
it "should build a Way from API response via get_way" do
stub_request(:get, "http://www.openstreetmap.org/api/0.6/way/1234").to_return(:status => 200, :body => valid_fake_way, :headers => {'Content-Type' => 'application/xml'})
way = osm.find_way(1234)
- way.class.should eql Way
- way.nodes.should include(15735246)
+ expect(way.class).to eql Way
+ expect(way.nodes).to include(15735246)
end
end
describe '#create:' do
end
\ No newline at end of file