2023-05-04 13:44:27 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'rails_helper'
|
|
|
|
|
2024-09-04 15:12:25 +10:00
|
|
|
RSpec.describe Settings::Preferences::BaseController do
|
2023-05-04 13:44:27 +10:00
|
|
|
describe 'after_update_redirect_path' do
|
|
|
|
it 'raises error when called' do
|
|
|
|
expect { described_class.new.send(:after_update_redirect_path) }.to raise_error(/Override/)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|