diff options
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/clusters_finder_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/finders/clusters_finder_spec.rb b/spec/finders/clusters_finder_spec.rb index 29fb3846d03..3e7bbbe39c4 100644 --- a/spec/finders/clusters_finder_spec.rb +++ b/spec/finders/clusters_finder_spec.rb @@ -15,19 +15,19 @@ describe ClustersFinder do context 'when scope is all' do let(:scope) { :all } - it { is_expected.to eq(project.clusters.to_a) } + it { is_expected.to eq(project.clusters) } end context 'when scope is enabled' do - let(:scope) { :enabled } + let(:scope) { :active } - it { is_expected.to eq(project.clusters.enabled.to_a) } + it { is_expected.to eq(project.clusters.enabled) } end context 'when scope is disabled' do - let(:scope) { :disabled } + let(:scope) { :inactive } - it { is_expected.to eq(project.clusters.disabled.to_a) } + it { is_expected.to eq(project.clusters.disabled) } end end end |