Created
July 28, 2008 19:52
-
-
Save dkubb/2944 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it 'should save both the object and parent if both are new' do | |
pending('This is a bug that should be fixed') do | |
area1 = Area.new(:name => 'area1') | |
area1.machine = Machine.new(:name => 'machine1') | |
area1.save | |
area1.machine_id.should == area1.machine.id | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment