summaryrefslogtreecommitdiff
path: root/spec/views/errors/access_denied.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/errors/access_denied.html.haml_spec.rb')
-rw-r--r--spec/views/errors/access_denied.html.haml_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/views/errors/access_denied.html.haml_spec.rb b/spec/views/errors/access_denied.html.haml_spec.rb
new file mode 100644
index 00000000000..bde2f6f0169
--- /dev/null
+++ b/spec/views/errors/access_denied.html.haml_spec.rb
@@ -0,0 +1,7 @@
+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