Well I wouldn''t really have thought those belonged in a controller
rather than some sort of model but I would start with some sample
files, the expected text or HTML output and assert that converting the
samples created that output
Fred
Sent from my iPhone
On 20 Oct 2008, at 17:31, Vicky Shaw <rails-mailing-list@andreas-
s.net> wrote:
>
> I have written an action for converting attached MS word document
> files
> into a plain text and HTML format. The converted file is then rendered
> in a web browser. How can I write a functional test for this action? I
> am not confused about creating a fixture for this. (attached MS word
> document files are stored as a BLOB in MySQL).
>
> -
> Vicky.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---