Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix RSpec service matchers when a model is not found

Loïc Guitaut31c0a08f8af2
diff --git a/spec/support/service_matchers.rb b/spec/support/service_matchers.rb
index e75e22ea350..7ef1571af40 100644
--- a/spec/support/service_matchers.rb
+++ b/spec/support/service_matchers.rb
@@ -99,7 +99,7 @@ module ServiceMatchers
end
def step_failed?
- super && result[name].blank?
+ super && result[step].not_found
end
end