diff options
Diffstat (limited to 'spec/views/registrations/welcome/show.html.haml_spec.rb')
-rw-r--r-- | spec/views/registrations/welcome/show.html.haml_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/views/registrations/welcome/show.html.haml_spec.rb b/spec/views/registrations/welcome/show.html.haml_spec.rb deleted file mode 100644 index b652defbd1f..00000000000 --- a/spec/views/registrations/welcome/show.html.haml_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'registrations/welcome/show', feature_category: :onboarding do - let_it_be(:user) { create(:user) } - - before do - allow(view).to receive(:onboarding_status).and_return(Onboarding::Status.new({}, {}, user)) - allow(view).to receive(:current_user).and_return(user) - allow(view).to receive(:welcome_update_params).and_return({}) - - render - end - - subject { rendered } - - it { is_expected.not_to have_selector('label[for="user_setup_for_company"]') } - it { is_expected.to have_button('Get started!') } -end |