hi all im trying to follow this link
http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to
learn testing. i got this error
undefined method `fixtures' for BookControllerTest:Class (NoMethodError)
i followed as it was mentioned

thanks

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/pnUBMEPwtnwJ.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Hassan Schroeder at Aug 10, 2012 at 5:37 pm

    On Fri, Aug 10, 2012 at 6:32 AM, Khan wrote:
    hi all im trying to follow this link
    http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to
    learn testing. i got this error
    undefined method `fixtures' for BookControllerTest:Class (NoMethodError)
    And, for whatever reason, you really are running Rails 2.1 ??

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • sameena Khan at Aug 11, 2012 at 5:26 am
    no am running 2.3.8
    On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder wrote:
    On Fri, Aug 10, 2012 at 6:32 AM, Khan wrote:
    hi all im trying to follow this link
    http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htmto
    learn testing. i got this error
    undefined method `fixtures' for BookControllerTest:Class (NoMethodError)
    And, for whatever reason, you really are running Rails 2.1 ??

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Colin Law at Aug 11, 2012 at 6:34 am

    On 11 August 2012 06:26, sameena Khan wrote:
    no am running 2.3.8
    Just be aware then that following a tutorial that does not match the
    version of rails you are using can be difficult, as whenever something
    does not work you do not know whether you have done something wrong or
    it is just that the tutorial is wrong for your version. You might be
    better following an up to date tutorial such as railstutorial.org,
    which is free to use online (and installing the appropriate version of
    rails obviously).

    Colin
    On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder
    wrote:
    On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan@gmail.com>
    wrote:
    hi all im trying to follow this link
    http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm
    to
    learn testing. i got this error
    undefined method `fixtures' for BookControllerTest:Class
    (NoMethodError)
    And, for whatever reason, you really are running Rails 2.1 ??

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • sameena Khan at Aug 14, 2012 at 1:11 pm
    Ok ill make sure that i go for updated tutorial
    On Sat, Aug 11, 2012 at 12:03 PM, Colin Law wrote:
    On 11 August 2012 06:26, sameena Khan wrote:
    no am running 2.3.8
    Just be aware then that following a tutorial that does not match the
    version of rails you are using can be difficult, as whenever something
    does not work you do not know whether you have done something wrong or
    it is just that the tutorial is wrong for your version. You might be
    better following an up to date tutorial such as railstutorial.org,
    which is free to use online (and installing the appropriate version of
    rails obviously).

    Colin
    On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder
    wrote:
    On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan@gmail.com>
    wrote:
    hi all im trying to follow this link
    http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm
    to
    learn testing. i got this error
    undefined method `fixtures' for BookControllerTest:Class
    (NoMethodError)
    And, for whatever reason, you really are running Rails 2.1 ??

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    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 rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedAug 10, '12 at 5:32p
activeAug 14, '12 at 1:11p
posts5
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase