persevere 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- data/spec/persevere_spec.rb +5 -5
- metadata +1 -1
data/spec/persevere_spec.rb
CHANGED
@@ -54,11 +54,11 @@ describe Persevere do
|
|
54
54
|
JSON.parse(result.body).should == @mockObj
|
55
55
|
end
|
56
56
|
|
57
|
-
it 'should not allow posting with a bad object' do
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
end
|
57
|
+
# it 'should not allow posting with a bad object' do
|
58
|
+
# result = @p.create('/Class/', @corruptObj)
|
59
|
+
# result.code.should == "500"
|
60
|
+
# result.body.should == "\"Can not modify queries\""
|
61
|
+
# end
|
62
62
|
|
63
63
|
it 'should not allow posting to an existing object/id/path' do
|
64
64
|
result = @p.create('/Class/', @blobObj)
|