debian-mirror-gitlab/spec/models/namespaces/user_namespace_spec.rb
2021-11-18 22:05:49 +05:30

13 lines
381 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
# Main user namespace functionality it still in `Namespace`, so most
# of the specs are in `namespace_spec.rb`.
# UserNamespace specific specs will end up being migrated here.
RSpec.describe Namespaces::UserNamespace, type: :model do
describe 'validations' do
it { is_expected.to validate_presence_of(:owner) }
end
end