summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-11-06 21:33:16 -0800
committerChris Baumbauer <cab@cabnetworks.net>2018-11-06 21:33:16 -0800
commitc2097ed74cc832972142d24f3cda1faf7a96d550 (patch)
tree406157adf00ea07c90ee322b86d1bda4b08c3d7b /spec
parent26673cc82775255d3e7b3d489e930bc43f19e01b (diff)
downloadgitlab-ce-c2097ed74cc832972142d24f3cda1faf7a96d550.tar.gz
Fix style with clusters_store.js and remove workaround for namespace role issuetriggermesh/dgriffith/gitlab-ce-triggermesh-phase1-knative
Diffstat (limited to 'spec')
-rw-r--r--spec/models/clusters/applications/knative_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/clusters/applications/knative_spec.rb b/spec/models/clusters/applications/knative_spec.rb
index dff9684ab2a..be2a91d566b 100644
--- a/spec/models/clusters/applications/knative_spec.rb
+++ b/spec/models/clusters/applications/knative_spec.rb
@@ -70,4 +70,8 @@ describe Clusters::Applications::Knative do
expect(values).to include('domain')
end
end
+
+ describe 'validations' do
+ it { is_expected.to validate_presence_of(:hostname) }
+ end
end