diff options
Diffstat (limited to 'spec/views/devise/registrations/new.html.haml_spec.rb')
-rw-r--r-- | spec/views/devise/registrations/new.html.haml_spec.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/views/devise/registrations/new.html.haml_spec.rb b/spec/views/devise/registrations/new.html.haml_spec.rb deleted file mode 100644 index 55025424573..00000000000 --- a/spec/views/devise/registrations/new.html.haml_spec.rb +++ /dev/null @@ -1,30 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'devise/registrations/new', feature_category: :user_management do - describe 'broadcast messaging' do - before do - allow(view).to receive(:devise_mapping).and_return(Devise.mappings[:user]) - allow(view).to receive(:resource).and_return(build(:user)) - allow(view).to receive(:resource_name).and_return(:user) - allow(view).to receive(:registration_path_params).and_return({}) - allow(view).to receive(:glm_tracking_params).and_return({}) - allow(view).to receive(:arkose_labs_enabled?).and_return(true) - end - - it 'does not render the broadcast layout' do - render - - expect(rendered).not_to render_template('layouts/_broadcast') - end - - context 'when SaaS', :saas do - it 'does not render the broadcast layout' do - render - - expect(rendered).not_to render_template('layouts/_broadcast') - end - end - end -end |