Commit 00d9a468 authored by anna_vovchenko's avatar anna_vovchenko Committed by Nicolò Maria Mezzopera

Implemented suggested changes

parent b28bf503
......@@ -118,15 +118,15 @@ RSpec.describe ClustersHelper do
end
it 'displays empty state help text' do
expect(subject[:empty_state_help_text]).to match(clusterable.empty_state_help_text)
expect(subject[:empty_state_help_text]).to eq(clusterable.empty_state_help_text)
end
it 'displays create cluster using certificate path' do
expect(subject[:new_cluster_path]).to match(clusterable.new_path(tab: 'create'))
expect(subject[:new_cluster_path]).to eq(clusterable.new_path(tab: 'create'))
end
it 'displays whether the user can add cluster' do
expect(subject[:can_add_cluster]).to match(clusterable.can_add_cluster?.to_s)
expect(subject[:can_add_cluster]).to eq(clusterable.can_add_cluster?.to_s)
end
end
......
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