> I am new to test-driven development and rspec, so I am writing an
> application[1] to practice. One of the patterns I am trying to
> implement is from Ryan Bates' complex-form-examples[2]. Ryan's example
> doesn't have any tests, so I am trying to write tests for the code.
Don't forget that the railscast episode you are referring to is quite old and
has a much better modern solution: 
http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html

Though maybe you are aware of that and still want to work out this particular
problem manually with behavior driven development?

Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to