diff --git a/.rspec b/.rspec index b62b8e2..3f1dfa3 100644 --- a/.rspec +++ b/.rspec @@ -2,3 +2,4 @@ --color --require spec_helper --exclude-pattern **/fixtures/* +--order random diff --git a/spec/rspec_formatter_spec.rb b/spec/rspec_formatter_spec.rb index 010986b..b6381da 100644 --- a/spec/rspec_formatter_spec.rb +++ b/spec/rspec_formatter_spec.rb @@ -151,7 +151,7 @@ { "method" => "finish", "params" => {} }, ] - expect(events).to match(expected) + expect(events).to contain_exactly(*expected) end describe "RubyLsp::RSpec::RSpecFormatter notifications" do