summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rspec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/rspec.rb')
-rw-r--r--lib/chef_zero/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rspec.rb b/lib/chef_zero/rspec.rb
index 6a78a78..6a3429b 100644
--- a/lib/chef_zero/rspec.rb
+++ b/lib/chef_zero/rspec.rb
@@ -261,7 +261,7 @@ module ChefZero
end
def current_org
- @current_org || 'chef'
+ @current_org || ChefZero::RSpec.server.options[:single_org] || nil
end
def with_object_path(object_path)