Sha256: c271e329bd29ca8f9c76a1c7b49fa92e370f98ee832a412f6938c6482ac623ee
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
require 'spec_helper' describe Rhea::Kubernetes::Commands::Delete, :vcr do include KubernetesSpecHelper before(:each) { delete_replication_controllers } after(:each) { delete_replication_controllers } describe '#perform' do context 'an existing rc' do before :each do Rhea::Kubernetes::Commands::Scale.new(expression: command_expression, process_count: 1).perform end it 'deletes the rc' do described_class.new(expression: command_expression).perform url = "#{kube_authed_api_url}replicationcontrollers/#{kube_replication_controller_name}" expect(WebMock).to have_requested(:delete, url) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rhea-0.2.0 | spec/lib/rhea/kubernetes/commands/delete_spec.rb |
rhea-0.1.0 | spec/lib/rhea/kubernetes/commands/delete_spec.rb |