From 54b7c08d4a3a844c0588fa2da1714f234a743aa5 Mon Sep 17 00:00:00 2001 From: "hung.nguyen" Date: Wed, 26 Aug 2020 11:10:23 +0700 Subject: [PATCH] BUGFIX: TMA-1684 Fixing failed test error handling in development environment mode --- spec/integration/core/connection_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/core/connection_spec.rb b/spec/integration/core/connection_spec.rb index dca455163..07d535497 100644 --- a/spec/integration/core/connection_spec.rb +++ b/spec/integration/core/connection_spec.rb @@ -61,7 +61,7 @@ begin c.post('/gdc/projects', 'project' => {}) rescue StandardError => e - expect { puts e }.to output(/Key 'meta' is compulsory/).to_stdout + expect { puts e }.to output(/400 Bad Request/).to_stdout end end end