7fe92d9981
The `errors/access_denied` page should not fail to render when no message is provided. When accessing something as a sessionless user, we should also display the terms message if possible.
7 lines
177 B
Ruby
7 lines
177 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'errors/access_denied' do
|
|
it 'does not fail to render when there is no message provided' do
|
|
expect { render }.not_to raise_error
|
|
end
|
|
end
|