gitlab-org--gitlab-foss/spec/models/clusters/project_spec.rb

11 lines
290 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-10-29 18:48:45 +00:00
require 'spec_helper'
describe Clusters::Project do
it { is_expected.to belong_to(:cluster) }
it { is_expected.to belong_to(:project) }
it { is_expected.to have_many(:kubernetes_namespaces) }
it { is_expected.to have_one(:kubernetes_namespace) }
2017-10-29 18:48:45 +00:00
end