diff options
author | Thom May <thom@chef.io> | 2016-07-29 17:00:49 +0100 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-07-29 17:00:49 +0100 |
commit | e257f450c044616fefbd15e9a180387aaaa572a1 (patch) | |
tree | 6a148967013485078af6601546bdb7b61c623f3c /lib/chef_zero/endpoints/dummy_endpoint.rb | |
parent | 4c86d798010b73c76c916e601ff48c24ffb65dd6 (diff) | |
download | chef-zero-tm/style.tar.gz |
ChefStyletm/style
Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'lib/chef_zero/endpoints/dummy_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/dummy_endpoint.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/dummy_endpoint.rb b/lib/chef_zero/endpoints/dummy_endpoint.rb index fe16a7e..08dc30b 100644 --- a/lib/chef_zero/endpoints/dummy_endpoint.rb +++ b/lib/chef_zero/endpoints/dummy_endpoint.rb @@ -7,7 +7,6 @@ module ChefZero # called by #direct_solr_query, once each for roles, nodes, and data bag items. each RSpec example makes # 3 calls, with the expected sequence of return values [0, 1, 0]. def get(request) - # this could be made less brittle, but if things change to have more than 3 cycles, we should really # be notified by a spec failure. @mock_values ||= ([0, 1, 0] * 3).map { |val| make_response(val) } @@ -28,4 +27,3 @@ module ChefZero end end end - |