On 8 Sep 2008, at 12:39, Thorsten Müller wrote:

>
>>  I have problem storing the values into the test databse.
>>
>> so that i can't cross check the values in the database.
>
> What values? (fixtures, results generated by your code...?)
> What problems? (errors, nothing stored...?)

Here's a guess: are you expecting changes made by your tests to  
persist? This doesn't happen: changes to the test database are rolled  
back after each test.

Fred


>
>
> Could you guys take 5 mins thinking before asking questions?
>
> assuming you talk about fixtures:
>
> Store them in folder spec/fixtures
>
> load them with
>
> rake spec:db:fixtures:load
>
> >


--~--~---------~--~----~------------~-------~--~----~
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