Project

General

Profile

« Previous | Next » 

Revision c6f2afe2

Added by Djebran Lezzoum about 6 years ago

Fixes #23586 - Port robottelo tests for template

View differences:

test/models/provisioning_template_test.rb
require 'test_helper'
class ProvisioningTemplateTest < ActiveSupport::TestCase
should allow_values(*valid_name_list).for(:name)
should_not allow_values(*invalid_name_list).for(:name)
test "should be valid when selecting a kind" do
tmplt = ProvisioningTemplate.new
tmplt.name = "Default Kickstart"

Also available in: Unified diff