Sha256: 535f78d46ff85fa08fc6a667b39e088c6bccc77d57a48ade1e462336c77ab25f

Contents?: true

Size: 327 Bytes

Versions: 9

Compression:

Stored size: 327 Bytes

Contents

module ForemanSccManager
  module FixturesSupport
    FIXTURE_CLASSES = {
      scc_accounts: ForemanSccManager::SccAccount,
      scc_products: ForemanSccManager::SccProduct
    }.freeze

    def self.set_fixture_classes(test_class)
      FIXTURE_CLASSES.each { |k, v| test_class.set_fixture_class(k => v) }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_scc_manager-1.8.4 test/support/fixtures_support.rb
foreman_scc_manager-1.7.1 test/support/fixtures_support.rb
foreman_scc_manager-1.8.3 test/support/fixtures_support.rb
foreman_scc_manager-1.8.2 test/support/fixtures_support.rb
foreman_scc_manager-1.8.1 test/support/fixtures_support.rb
foreman_scc_manager-1.8.0 test/support/fixtures_support.rb
foreman_scc_manager-1.7.0 test/support/fixtures_support.rb
foreman_scc_manager-1.6.3 test/support/fixtures_support.rb
foreman_scc_manager-1.6.2 test/support/fixtures_support.rb