diff --git a/spec/lib/appsignal/transaction_spec.rb b/spec/lib/appsignal/transaction_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/appsignal/transaction_spec.rb
+++ b/spec/lib/appsignal/transaction_spec.rb
@@ -971,7 +971,7 @@ describe Appsignal::Transaction do
       end
 
       context "when there is a session" do
-        let(:foo_filter) { { filter_parameters: %w[foo] } }
+        let(:foo_filter) { { :filter_parameters => %w[foo] } }
 
         before do
           expect(transaction).to respond_to(:request)
Honor filter_parameters keys for session data (linting)

- adhere to hash rocket hash syntax