Sha256: 3d476140633ce38e11492a0d232faa5908fb9fcc0e3f5b65dc49e4dbfc2c1081

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class NestedChildTest < Test::Unit::TestCase
	fixtures :nested_children

	def test_fixtures_without_joins_behave_as_normal
		nested_three = nested_children(:nested_three)
		assert_equal nested_three, NestedChild.find_by_field(3)
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
joinfix-0.1.0 rails/test/unit/nested_child_test.rb
joinfix-0.1.1 rails/test/unit/nested_child_test.rb
joinfix-1.0.0 rails/test/unit/nested_child_test.rb
joinfix-1.0.1 rails/test/unit/nested_child_test.rb