api_backend 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33abf641399525fb22352387f2c74f87a01700eb
|
4
|
+
data.tar.gz: 825c4e85c28a480bfd6257c3f5b1277cc6247841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5edaa9359013b22cfce1227edf0d0259b865200631417d3307b372e09a9fe7b15ed34c07611bcfe7ba3354744014852aa81f0542e20abf206bc73b4f99b316
|
7
|
+
data.tar.gz: 85bcddb5c344aff5a6fc4027279f76965bdd7add23dd3e02055f85f3056951d20ab486eebd7eab0d74f1e0e2bc6a5c36dfe72454dd3fd483abdd9d222b26cc73
|
@@ -22,10 +22,10 @@ shared_examples 'a createable resource' do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
context 'with invalid resource attributes' do
|
25
|
-
before
|
26
|
-
|
27
|
-
|
25
|
+
before do
|
26
|
+
api_post endpoint
|
27
|
+
end
|
28
28
|
|
29
|
-
|
29
|
+
it_behaves_like 'an invalid resource'
|
30
30
|
end
|
31
31
|
end
|
data/lib/api_backend/version.rb
CHANGED