We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db05c8 commit 375ca46Copy full SHA for 375ca46
spec/simplegeo_spec.rb
@@ -65,7 +65,7 @@
65
simple = Simplegeo.new(@test_keys['key'], @test_keys['secret'], 'com.sentientmonkey.test')
66
result = simple.records.put(2, {:lat => 47.607089, :lon => -122.332034, :test => 'two'})
67
result = simple.records.delete(2)
68
- result = simple.records.get(2)
+ lambda{ simple.records.get(2) }.should raise_exception(Simplegeo::NotFound)
69
#TODO assertions
70
end
71
0 commit comments