Commit 6798bab1 authored by Alessio Caiazza's avatar Alessio Caiazza

Remove duped tests

Likely caused by EE conflicts resolution
parent a1b3cd40
...@@ -124,34 +124,6 @@ describe KubernetesService, :use_clean_rails_memory_store_caching do ...@@ -124,34 +124,6 @@ describe KubernetesService, :use_clean_rails_memory_store_caching do
end end
end end
describe '#actual_namespace' do
subject { service.actual_namespace }
it "returns the default namespace" do
is_expected.to eq(service.send(:default_namespace))
end
context 'when namespace is specified' do
before do
service.namespace = 'my-namespace'
end
it "returns the user-namespace" do
is_expected.to eq('my-namespace')
end
end
context 'when service is not assigned to project' do
before do
service.project = nil
end
it "does not return namespace" do
is_expected.to be_nil
end
end
end
describe '#test' do describe '#test' do
let(:discovery_url) { 'https://kubernetes.example.com/api/v1' } let(:discovery_url) { 'https://kubernetes.example.com/api/v1' }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment