Commit 92b994ff authored by Matthias Käppler's avatar Matthias Käppler

Merge branch 'make-context-payload-processor-spec-more-robust' into 'master'

Make ContextPayloadProcessor spec more robust

See merge request gitlab-org/gitlab!58259
parents 4eb2adbe a0b285f7
......@@ -23,10 +23,10 @@ RSpec.describe Gitlab::ErrorTracking::Processor::ContextPayloadProcessor do
end
it 'merges the context payload into event payload', :aggregate_failures do
expect(result_hash[:user]).to eq(ip_address: '127.0.0.1', username: 'root')
expect(result_hash[:user]).to include(ip_address: '127.0.0.1', username: 'root')
expect(result_hash[:tags])
.to eq(priority: 'high',
.to include(priority: 'high',
locale: 'en',
program: 'test',
feature_category: 'feature_a',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment