Sha256: 65be9d862b52d6b54ec66f04e2a2242a8e952af2beaed0fa3382ee8ec5d56012

Contents?: true

Size: 571 Bytes

Versions: 24

Compression:

Stored size: 571 Bytes

Contents

require 'abstract_unit'
require 'fixtures/reference_type'
require 'fixtures/reference_code'

class TestDummy < Test::Unit::TestCase
  fixtures :reference_types, :reference_codes
  
  classes = {
    :single => {
      :class => ReferenceType,
      :primary_keys => :reference_type_id,
    },
    :dual   => { 
      :class => ReferenceCode,
      :primary_keys => [:reference_type_id, :reference_code],
    },
  }
  
  def setup
    self.class.classes = classes
  end
  
  def test_truth
    testing_with do
      assert true
    end
  end
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
mingusbabcock-composite_primary_keys-2.2.2.1 test/test_dummy.rb
tyler-composite_primary_keys-1.1.0 test/test_dummy.rb
tyler-composite_primary_keys-1.1.1 test/test_dummy.rb
tyler-composite_primary_keys-1.1.2 test/test_dummy.rb
tyler-composite_primary_keys-1.1.3 test/test_dummy.rb
tyler-composite_primary_keys-1.1.4 test/test_dummy.rb
composite_primary_keys-1.0.1 test/test_dummy.rb
composite_primary_keys-0.9.90 test/test_dummy.rb
composite_primary_keys-1.0.3 test/test_dummy.rb
composite_primary_keys-1.0.10 test/test_dummy.rb
composite_primary_keys-0.9.93 test/test_dummy.rb
composite_primary_keys-1.0.0 test/test_dummy.rb
composite_primary_keys-1.0.2 test/test_dummy.rb
composite_primary_keys-0.9.91 test/test_dummy.rb
composite_primary_keys-0.9.92 test/test_dummy.rb
composite_primary_keys-1.1.0 test/test_dummy.rb
composite_primary_keys-2.2.1 test/test_dummy.rb
composite_primary_keys-2.2.2 test/test_dummy.rb
composite_primary_keys-1.0.4 test/test_dummy.rb
composite_primary_keys-2.2.0 test/test_dummy.rb