Got it. File name should be user_spec.rb and not user_test.rb .
On May 22, 8:42 pm, Nadal wrote:
> This is what I did. Please tell me where did I go wrong.
>
> # I am using rails 2.3.5
> rails demo
> cd demo
> ruby script/generate scaffold User name:string
> rake db:migrate
> rake db:test:prepare
This is what I did. Please tell me where did I go wrong.
# I am using rails 2.3.5
rails demo
cd demo
ruby script/generate scaffold User name:string
rake db:migrate
rake db:test:prepare
ruby script/plugin install git://github.com/dchelimsky/rspec.git -r
'refs/tags/1.2.9'
ruby script/plugin instal