Sha256: b42e64fe9efa78f480ae3933ae39233cc71a0c7e8b566ae050c41391bfbd4acf

Contents?: true

Size: 460 Bytes

Versions: 75

Compression:

Stored size: 460 Bytes

Contents

require_relative '../test_helper'
require 'hammer_cli_katello/lifecycle_environment'

module HammerCLIKatello
  describe LifecycleEnvironmentCommand::CreateCommand do
    it 'allows minimal options' do
      api_expects(:lifecycle_environments, :create) do |p|
        p['name'] == 'le1' && p['prior_id'] == 3 && p['organization_id'] == 1
      end

      run_cmd(%w(lifecycle-environment create --name le1 --prior-id 3 --organization-id 1))
    end
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
hammer_cli_katello-1.16.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.15.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.14.3 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.14.2 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.14.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.14.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.12.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.11.2 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.11.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.11.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.10.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.10.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.8.3 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.8.2 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.9.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.9.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.8.1 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.7.3 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.8.0 test/functional/lifecycle_environment/create_test.rb
hammer_cli_katello-1.7.2 test/functional/lifecycle_environment/create_test.rb