restpack-group-client 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module RestPack
7
7
  hydrate http_get('/api/v1/groups.json', params)
8
8
  end
9
9
 
10
- def get(id)
10
+ def show(id)
11
11
  hydrate http_get("/api/v1/groups/#{id}.json")
12
12
  end
13
13
 
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Group
3
3
  module Client
4
- VERSION = "0.0.15"
4
+ VERSION = "0.0.16"
5
5
  end
6
6
  end
7
7
  end
@@ -42,13 +42,13 @@ describe RestPack::Group::Client::GroupApi do
42
42
  end
43
43
  end
44
44
 
45
- describe "#get" do
45
+ describe "#show" do
46
46
  before(:each) do
47
47
  RestClient.should_receive(:get)
48
48
  .with('http://:1234@localhost:1113/api/v1/groups/142857.json', params: {})
49
49
  .and_return(json)
50
50
 
51
- @response = client.get(142857)
51
+ @response = client.show(142857)
52
52
  end
53
53
  context "valid request" do
54
54
  let(:json) { File.read('./spec/fixtures/group/get.json') }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-group-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: