micropub 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/micropub/response.rb +4 -0
- data/lib/micropub/version.rb +1 -1
- data/spec/lib/micropub/response_spec.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db7a3682304b5c26c85c72c1ffa361e3b9e342f
|
4
|
+
data.tar.gz: e73de8013d9a3a7531e1695b1f2b6c1f30133250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dfe511ff7b30abbf7c8d75d14609b31aefda24edfbf379406d94ec4a7a6cf6416cbe17dfd608617870d8ff38f913a4e6cef447fdf98b4e5668f54898654dfdc
|
7
|
+
data.tar.gz: 6636fb2cad7b4aec5076751f3af73c830dfb232f7132dedfdd02e9f8ab82b7b889c39d3b370bee6f9fdb75ba428c6f3939715876c672b02dc651ed445900f1d7
|
data/lib/micropub/response.rb
CHANGED
data/lib/micropub/version.rb
CHANGED
@@ -18,4 +18,12 @@ describe Micropub::Response do
|
|
18
18
|
expect(response.location).to eq "http://example.com/1"
|
19
19
|
end
|
20
20
|
end
|
21
|
+
|
22
|
+
describe "#successful?" do
|
23
|
+
context "when in the 200 range" do
|
24
|
+
it "is true" do
|
25
|
+
expect(response.successful?).to eq true
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
21
29
|
end
|