OK guys,

All problems solved.
As you suspected, no doubt, all problems were my errors.  But I lacked
faith in Unit Tests so I failed to diligently investigate how reported
errors may be caused by defects in my code.

But after posting  the code for a second time,  I started to notice
some strange code fragments.  Ultimately I found three defects in my
app that caused the three unexpected things in the test output. As I
said, all defects have been ameliorated,  resulting in a clean Unit
Test report.

Thank you both for continuing to help be gain strength, little by
little, in Ruby/Rails programming.

Best wishes,]
Richard


On May 17, 10:04 am, RichardOnRails
<[email protected]> wrote:
> Minor correction:
>
> Viewhttp://www.pastie.org/963750instead of the "pastie" link I
> provided earlier.
>
> My minor error was that the first line of TestGMC.rb was a comment
> with the wrong filename.  That led me to post incorrect labels in the
> "pastie".
>
> I apologize for the sloppiness.
>
> Best wishes,
> Richard
>
> On May 17, 8:42 am, RichardOnRails
>
>
>
> <[email protected]> wrote:
> > Hi Marnen and Frederick,
>
> > Thanks for looking into my problem.
>
> > Frederick:  I removed the colons from the public and private macros
> > Marnen:  The code and the output I got from running them is 
> > athttp://www.pastie.org/963644.  It's got line numbers.  As you
> > obviously can now see, line 12 is the second line in::
>
> >     assert_equal( "edit, index, new, show",
> >         crud_views_as_a_string(:string), "Surprise")
>
> > Thanks again,
> > Richard
>
> > On May 17, 5:32 am, Frederick Cheung <[email protected]>
> > wrote:
>
> > > On May 17, 4:43 am, RichardOnRails
>
> > > <[email protected]> wrote:
> > > > module GMC_mod
> > > >   # The standard views (in app.views)  in alphabetical order
> > > >   # for any DB table
> > > >   :private
>
> > > Not relevant to the problem but this doesn't actually make methods
> > > private (it's just the symbol literal 'private'). Remove the : for it
> > > to actually do something (similarly for the public later on)
>
> > > Fred
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Ruby on Rails: Talk" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/rubyonrails-talk?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Ruby on Rails: Talk" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/rubyonrails-talk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to