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.
data/spec/apis/group_api_spec.rb
CHANGED
@@ -42,13 +42,13 @@ describe RestPack::Group::Client::GroupApi do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
describe "#
|
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.
|
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') }
|