diff options
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/group_clusterable_presenter_spec.rb | 16 | ||||
-rw-r--r-- | spec/presenters/project_clusterable_presenter_spec.rb | 16 | ||||
-rw-r--r-- | spec/presenters/sentry_error_presenter_spec.rb | 2 |
3 files changed, 1 insertions, 33 deletions
diff --git a/spec/presenters/group_clusterable_presenter_spec.rb b/spec/presenters/group_clusterable_presenter_spec.rb index 27360201e81..84b97ba0bb7 100644 --- a/spec/presenters/group_clusterable_presenter_spec.rb +++ b/spec/presenters/group_clusterable_presenter_spec.rb @@ -67,22 +67,6 @@ RSpec.describe GroupClusterablePresenter do it { is_expected.to eq(cluster_status_group_cluster_path(group, cluster)) } end - describe '#install_applications_cluster_path' do - let(:application) { :helm } - - subject { presenter.install_applications_cluster_path(cluster, application) } - - it { is_expected.to eq(install_applications_group_cluster_path(group, cluster, application)) } - end - - describe '#update_applications_cluster_path' do - let(:application) { :helm } - - subject { presenter.update_applications_cluster_path(cluster, application) } - - it { is_expected.to eq(update_applications_group_cluster_path(group, cluster, application)) } - end - describe '#clear_cluster_cache_path' do subject { presenter.clear_cluster_cache_path(cluster) } diff --git a/spec/presenters/project_clusterable_presenter_spec.rb b/spec/presenters/project_clusterable_presenter_spec.rb index b518c63f0ca..9057b518647 100644 --- a/spec/presenters/project_clusterable_presenter_spec.rb +++ b/spec/presenters/project_clusterable_presenter_spec.rb @@ -67,22 +67,6 @@ RSpec.describe ProjectClusterablePresenter do it { is_expected.to eq(cluster_status_project_cluster_path(project, cluster)) } end - describe '#install_applications_cluster_path' do - let(:application) { :helm } - - subject { presenter.install_applications_cluster_path(cluster, application) } - - it { is_expected.to eq(install_applications_project_cluster_path(project, cluster, application)) } - end - - describe '#update_applications_cluster_path' do - let(:application) { :helm } - - subject { presenter.update_applications_cluster_path(cluster, application) } - - it { is_expected.to eq(update_applications_project_cluster_path(project, cluster, application)) } - end - describe '#clear_cluster_cache_path' do subject { presenter.clear_cluster_cache_path(cluster) } diff --git a/spec/presenters/sentry_error_presenter_spec.rb b/spec/presenters/sentry_error_presenter_spec.rb index 86e43be1fa7..ce1b31d2371 100644 --- a/spec/presenters/sentry_error_presenter_spec.rb +++ b/spec/presenters/sentry_error_presenter_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe SentryErrorPresenter do - let(:error) { build(:detailed_error_tracking_error) } + let(:error) { build(:error_tracking_sentry_detailed_error) } let(:presenter) { described_class.new(error) } describe '#frequency' do |