Re: [rspec-users] Problem with RSpec, Rails or Me? (I know the answer is me!!)

2011-12-20 Thread Ants Pants
On 19 December 2011 21:32, Ants Pants wrote: > > > On 19 December 2011 20:45, Pat Maddox wrote: > >> On Dec 19, 2011, at 11:00 AM, Ants Pants wrote: >> >> > This could just be my lack of knowledge of how Rails works but from the >> following code in my RSpec test >> > >> > $stderr.puts "BEF

Re: [rspec-users] Problem with RSpec, Rails or Me? (I know the answer is me!!)

2011-12-19 Thread Ants Pants
On 19 December 2011 20:45, Pat Maddox wrote: > On Dec 19, 2011, at 11:00 AM, Ants Pants wrote: > > > This could just be my lack of knowledge of how Rails works but from the > following code in my RSpec test > > > > $stderr.puts "BEFORE: > #{@invitation.meeting.event.event_type.event_type_tim

Re: [rspec-users] Problem with RSpec, Rails or Me? (I know the answer is me!!)

2011-12-19 Thread Pat Maddox
On Dec 19, 2011, at 11:00 AM, Ants Pants wrote: > This could just be my lack of knowledge of how Rails works but from the > following code in my RSpec test > > $stderr.puts "BEFORE: > #{@invitation.meeting.event.event_type.event_type_time_units.inspect}" Can you please share your RSpec co

[rspec-users] Problem with RSpec, Rails or Me? (I know the answer is me!!)

2011-12-19 Thread Ants Pants
This could just be my lack of knowledge of how Rails works but from the following code in my RSpec test $stderr.puts "BEFORE: #{@invitation.meeting.event.event_type.event_type_time_units.inspect}" @invitation.save! EventTypeTimeUnit.all.each {|rec| $stderr.puts rec.inspect } $stderr.puts "