Sha256: efb615103cc24b819e26c391d45346ce21b5abe601a0d2696cad1796e2d3f560

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

require 'test_helper'

module KatelloForemanEngine
  module Actions
    class OrgCreateTest < ActiveSupport::TestCase

      test 'calls bindings to create organization' do
        Bindings.expects(:organization_create). with('KT-[ACME]')
        OrgCreate.new('label' => 'ACME').run
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-foreman-engine-0.0.12 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.11 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.7 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.6 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.3 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.2 test/lib/actions/org_create_test.rb
katello-foreman-engine-0.0.1 test/lib/actions/org_create.rb