togglv8 1.0.5 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/togglv8/version.rb +1 -1
- data/lib/togglv8/workspaces.rb +4 -0
- data/spec/lib/togglv8/tags_spec.rb +7 -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: 04a79328e6a07a58324e23cc86e3886bbb502d18
|
4
|
+
data.tar.gz: 5d3ef179fe12cda05f519915fb746ef0a8080fae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3cdb34425ded4ff9496cb14948ea39d539db802cf07c664a29295d6b55a403034c98a4814470fa0f3e80126eed09d828d6e3f3308f022c8fa437839bff499eb
|
7
|
+
data.tar.gz: cec3ad2de4a51bcc5578ce64d8ea45abeadee7b8f43b7136059d959d64bde5811f08be4693b031d39f8388513114be74e7a793e93a5a3926227fde5ccf9b4470
|
data/lib/togglv8/version.rb
CHANGED
data/lib/togglv8/workspaces.rb
CHANGED
@@ -24,6 +24,13 @@ describe 'Tags' do
|
|
24
24
|
expect(@tag['notes']).to eq nil
|
25
25
|
expect(@tag['wid']).to eq @workspace_id
|
26
26
|
end
|
27
|
+
|
28
|
+
it 'returns tag associated with workspace_id' do
|
29
|
+
tags = @toggl.tags(@workspace_id)
|
30
|
+
expect(tags).not_to be_empty
|
31
|
+
expect(tags.first['name']).to eq 'new tag +1'
|
32
|
+
expect(tags.first['wid']).to eq @workspace_id
|
33
|
+
end
|
27
34
|
end
|
28
35
|
|
29
36
|
context 'updated tag' do
|