Testing Rails

hi all im trying to follow this link

to
learn testing. i got this error
undefined method `fixtures’ for BookControllerTest:Class
(NoMethodError)
i followed as it was mentioned

thanks

On Fri, Aug 10, 2012 at 6:32 AM, Khan [email protected]
wrote:

hi all im trying to follow this link
Ruby on Rails 2.1 - Unit Testing 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 S. ------------------------ [email protected]

twitter: @hassan

no am running 2.3.8

On Fri, Aug 10, 2012 at 11:00 PM, Hassan S. <

On 11 August 2012 06:26, sameena Khan [email protected]
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

Ok ill make sure that i go for updated tutorial