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