gom-client 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gom/client/version.rb +1 -1
- data/spec/lib/gom/client_spec.rb +12 -3
- 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: c06e6999aeb7d00cb0ebf5c465dd52414dac4d81
|
4
|
+
data.tar.gz: a94203a788aad422d41b09e3bd3064694b24c05f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20267fb03db364aa46f7cbb434f966a66e495335fcdb096b2c79c81fca32cb49a02c205a8352793b14fccc7d725691cd9adacf43a9c9bb00e641f8a03738809d
|
7
|
+
data.tar.gz: ef0d0622e1e53ab61e96566e6a333665437cc93fcdf692b4e3aa59d5dfc1fd646329857735f59700565e5fc739a353b51a9f19e0f5771decd67fc0b87c1bd8d1
|
data/lib/gom/client/version.rb
CHANGED
data/spec/lib/gom/client_spec.rb
CHANGED
@@ -12,11 +12,11 @@ describe Gom::Client do
|
|
12
12
|
#let(:prefix) { "/tests/08ec4b58-38b3-44ac-9ea9-62b42a62b061" }
|
13
13
|
|
14
14
|
before(:all) {
|
15
|
-
|
16
|
-
|
15
|
+
VCR.insert_cassette('127.0.0.1:3000', :record => :new_episodes)
|
16
|
+
# VCR.insert_cassette('gom.dev.artcom.de', :record => :new_episodes)
|
17
17
|
}
|
18
18
|
after(:all) {
|
19
|
-
|
19
|
+
VCR.eject_cassette
|
20
20
|
}
|
21
21
|
|
22
22
|
it 'creates and retrieves new node with no attributes' do
|
@@ -64,6 +64,15 @@ describe Gom::Client do
|
|
64
64
|
hash[:attribute][:value].should eq(val)
|
65
65
|
end
|
66
66
|
|
67
|
+
pending 'updates attribute with UTF charachter' do
|
68
|
+
uri = uniq_attr_uri
|
69
|
+
val = 'some UTF text: öäüßÖÄÜ'
|
70
|
+
(gom.update uri, val).should eq(val)
|
71
|
+
(hash = gom.retrieve uri).should be_kind_of(Hash)
|
72
|
+
hash[:attribute].should be
|
73
|
+
hash[:attribute][:value].should eq(val)
|
74
|
+
end
|
75
|
+
|
67
76
|
it 'updates attribute containing ampersand' do
|
68
77
|
uri = uniq_attr_uri
|
69
78
|
val = 'Hallo & Ciao'
|