base_controller_spec.rb 301 B

1234567891011
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Settings::Preferences::BaseController do
  4. describe 'after_update_redirect_path' do
  5. it 'raises error when called' do
  6. expect { described_class.new.send(:after_update_redirect_path) }.to raise_error(/Override/)
  7. end
  8. end
  9. end