summaryrefslogtreecommitdiff
path: root/spec/unit/user_spec.rb
diff options
context:
space:
mode:
authortylercloke <tylercloke@gmail.com>2015-05-29 15:34:33 -0700
committertylercloke <tylercloke@gmail.com>2015-06-05 10:38:48 -0700
commit549b093710c10e6409d101c651629df7b0bd7b67 (patch)
tree24b0b95622d8bdeb634ec74030d8c1bf23ac08d0 /spec/unit/user_spec.rb
parent8565a36f8010760a3a65df8e521f442cc57e5934 (diff)
downloadchef-549b093710c10e6409d101c651629df7b0bd7b67.tar.gz
Small updates to Chef::User.list.
Diffstat (limited to 'spec/unit/user_spec.rb')
-rw-r--r--spec/unit/user_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/user_spec.rb b/spec/unit/user_spec.rb
index 67ad44a043..146230fa1c 100644
--- a/spec/unit/user_spec.rb
+++ b/spec/unit/user_spec.rb
@@ -584,16 +584,6 @@ describe Chef::User do
@osc_inflated_response = { "admin" => @user }
end
- it "lists all clients on an OSC server" do
- allow(@http_client).to receive(:get).with("users").and_return(@osc_response)
- expect(Chef::User.list).to eq(@osc_response)
- end
-
- it "inflate all clients on an OSC server" do
- allow(@http_client).to receive(:get).with("users").and_return(@osc_response)
- expect(Chef::User.list(true)).to eq(@osc_inflated_response)
- end
-
it "lists all clients on an OHC/OPC server" do
allow(@http_client).to receive(:get).with("users").and_return(@ohc_response)
# We expect that Chef::User.list will give a consistent response