@@ -62,19 +62,60 @@ describe 'geo rake tasks', :geo do
end
describe'status task',:geo_fdwdo
context'without a valid license'do
beforedo
stub_licensed_features(geo: false)
end
it'runs with an error'do
expect{run_rake_task('geo:status')}.toraise_error("GitLab Geo is not supported with this license. Please contact the sales team: https://about.gitlab.com/sales.")