digi_moji 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/digi_moji.rb +6 -0
- data/lib/digi_moji/version.rb +1 -1
- data/spec/digi_moji_spec.rb +10 -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: d83bd7bdf91834c2572d2b202fc25975ce91a339
|
4
|
+
data.tar.gz: 82a7de8583fee4167c5f85fbec813c00d5c74d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58b7a056c9f5a47fe0fb5a9ea6d5bb7195a92c8bb6aba174846a33cd7fcf8ac7de58b49db2bab9dfecc11c32ea167a0ca9f425a136f344ceb708b02d9f713ed2
|
7
|
+
data.tar.gz: 0aa8459853acc150d3ceb3c1700813aa1c2bc232fcac00aebb47132c3fc265beaac0aada7e3b27698159db5c29672ba352154fcbf2924280b57bbe54d720e79e
|
data/lib/digi_moji.rb
CHANGED
data/lib/digi_moji/version.rb
CHANGED
data/spec/digi_moji_spec.rb
CHANGED
@@ -68,5 +68,15 @@ describe DigiMoji::String do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
71
|
+
|
72
|
+
describe String do
|
73
|
+
describe "#to_digimoji" do
|
74
|
+
it "returns a DigiMoji::String object" do
|
75
|
+
str = "Aa".to_digimoji
|
76
|
+
expect(str).to be_an_instance_of(DigiMoji::String)
|
77
|
+
expect(str.to_s).to eq @str_Aa
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
71
81
|
end
|
72
82
|
|