plugins/kubernetes/test/models/kubernetes/release_doc_test.rb
# makes all docs share the stubbed template
makes all docs share the stubbed template
makes all docs share the stubbed template
def create!
    doc.kubernetes_release.builds = [builds(:docker_build)]
    Kubernetes::ReleaseDoc.create!(
      doc.attributes.except('id', 'resource_template').merge(kubernetes_release: doc.kubernetes_release)
    )
  end
def create! doc . kubernetes_release . builds = [ builds ( :docker_build ) ] Kubernetes :: ReleaseDoc . create! ( doc . attributes . except ( 'id' , 'resource_template' ) . merge ( kubernetes_release : doc . kubernetes_release ) ) end
makes all docs share the stubbed template
makes all docs share the stubbed template