Hi,

I am new to Rspec so i am not sure if this can be done. I want to
write a test that the outcome of a function is that a new file is
successfully created in a directory. The test would be somthing like
"it should save the xml to a file in /path/foo".

Can this be done? If so how is it done? (I am guessing it would be a
clause in the "after" method.

Regards,
Beriahotep


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