From 246e1cefe08ad61ee755146a324ec24d1c4412e7 Mon Sep 17 00:00:00 2001 From: sreepuramsudheer Date: Tue, 29 Oct 2024 13:10:29 +0530 Subject: [PATCH] Added smoke tag. Signed-off-by: sreepuramsudheer --- oc-chef-pedant/spec/api/server_license_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oc-chef-pedant/spec/api/server_license_spec.rb b/oc-chef-pedant/spec/api/server_license_spec.rb index c41ae6151f..77d00c2220 100644 --- a/oc-chef-pedant/spec/api/server_license_spec.rb +++ b/oc-chef-pedant/spec/api/server_license_spec.rb @@ -25,9 +25,9 @@ end context "when having valid license" do - it "can get all users", automate: true do + it "can get all users", :smoke do get(request_url, platform.superuser).should look_like({ - :status => 403, + :status => 200, :body => users_body }) end @@ -52,7 +52,7 @@ system("sleep 30") end - it "returns 403" do + it "returns 403", :smoke do puts get(request_url, platform.superuser) get(request_url, platform.superuser).should look_like({ :status => 200