sssmoke 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sssmoke.rb +1 -1
- data/lib/sssmoke/version.rb +1 -1
- data/test/test_sssmoke.rb +7 -0
- metadata +1 -1
data/lib/sssmoke.rb
CHANGED
data/lib/sssmoke/version.rb
CHANGED
data/test/test_sssmoke.rb
CHANGED
@@ -72,4 +72,11 @@ class SecurityTest < SssmokeTest
|
|
72
72
|
get '/../simple'
|
73
73
|
assert_equal 404, last_response.status
|
74
74
|
end
|
75
|
+
|
76
|
+
def test_hide_exceptions
|
77
|
+
ENV['filename'] = 'test/data/'
|
78
|
+
get '/error'
|
79
|
+
assert_equal 500, last_response.status
|
80
|
+
assert_equal '<h1>Internal Server Error</h1>', last_response.body
|
81
|
+
end
|
75
82
|
end
|