test/test_classy-inheritance.rb in classy-inheritance-0.6.4 vs test/test_classy-inheritance.rb in classy-inheritance-0.7.0

- old
+ new

@@ -1,11 +1,10 @@ require File.dirname(__FILE__) + '/test_helper.rb' -User.depends_on :profile, :attrs => [:first_name, :last_name, :email] - class TestClassyInheritance < Test::Unit::TestCase def setup + User.depends_on :profile, :attrs => [:first_name, :last_name, :email] @user = User.new end def test_active_record_should_respond_to_depends_on assert ActiveRecord::Base.respond_to?(:depends_on)