e3ca493876
This model will be used to persist into database Kubernetes properties, such as namespace, service account name and service account token.
8 lines
259 B
Ruby
8 lines
259 B
Ruby
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) }
|
|
end
|