test/models/resources/test_deployment.rb in fog-azure-rm-0.0.4 vs test/models/resources/test_deployment.rb in fog-azure-rm-0.0.5

- old
+ new

@@ -2,11 +2,12 @@ # Test class for Deployment Model class TestDeployment < Minitest::Test def setup @service = Fog::Resources::AzureRM.new(credentials) + client = @service.instance_variable_get(:@rmc) @deployment = deployment(@service) - @response = ApiStub::Models::Resources::Deployment.create_deployment_response + @response = ApiStub::Models::Resources::Deployment.create_deployment_response(client) end def test_model_methods methods = [ :save,