diff --git a/test/integration/headers_test.rb b/test/integration/headers_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/headers_test.rb
+++ b/test/integration/headers_test.rb
@@ -29,8 +29,8 @@ describe 'A full stack Lotus application' do
     it "returns default headers' value" do
       get '/'
 
-      response.headers['X-Frame-Options'].must_be_nil
-      response.headers['Content-Security-Policy'].must_be_nil
+      response.headers.key?('X-Frame-Options').must_equal         false
+      response.headers.key?('Content-Security-Policy').must_equal false
     end
   end
Security headers: ensure to not send them to browsers when they aren't set. Ref #<I>