# File lib/rhc/rest/mock.rb, line 127 def stub_create_domain(name) stub_api_request(:post, 'broker/rest/domains', mock_user_auth). with(:body => hash_including({:id => name})). to_return(new_domain(name)) end