diff --git a/spec/e2e/railtie_spec.rb b/spec/e2e/railtie_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/e2e/railtie_spec.rb
+++ b/spec/e2e/railtie_spec.rb
@@ -36,7 +36,7 @@ module Rails
 
   describe 'railtie' do
     it 'configures a default Neo4j server_db' do
-      expect(Neo4j::Session).to receive(:open).with(:server_db, server_url, {})
+      expect(Neo4j::Session).to receive(:open).with(:server_db, server_url, {default: true})
       app = App.new
       Railtie.init['neo4j.start'].call(app)
     end
Fix spec after addition of default: true to all session openings