Sha256: a15006e97c82f6f6f3a0b841eb49d4caaa132c6ccd9fcd8fb07292a0574b1803

Contents?: true

Size: 334 Bytes

Versions: 13

Compression:

Stored size: 334 Bytes

Contents

module ForemanSccManager
  module FixturesSupport
    FIXTURE_CLASSES = {
      scc_accounts: ::SccAccount,
      scc_products: ::SccProduct,
      scc_repositories: ::SccRepository
    }.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

13 entries across 13 versions & 1 rubygems

Version Path
foreman_scc_manager-1.8.19 test/support/fixtures_support.rb
foreman_scc_manager-1.8.18 test/support/fixtures_support.rb
foreman_scc_manager-1.8.17 test/support/fixtures_support.rb
foreman_scc_manager-1.8.16 test/support/fixtures_support.rb
foreman_scc_manager-1.8.15 test/support/fixtures_support.rb
foreman_scc_manager-1.8.13 test/support/fixtures_support.rb
foreman_scc_manager-1.8.12 test/support/fixtures_support.rb
foreman_scc_manager-1.8.10 test/support/fixtures_support.rb
foreman_scc_manager-1.8.9 test/support/fixtures_support.rb
foreman_scc_manager-1.8.8 test/support/fixtures_support.rb
foreman_scc_manager-1.8.7 test/support/fixtures_support.rb
foreman_scc_manager-1.8.6 test/support/fixtures_support.rb
foreman_scc_manager-1.8.5 test/support/fixtures_support.rb