Hi,
Did anyone attempt to use rspec and attachment_fu? How can I pass a
file to attachment_fu? What do I need to stub?
Thanks,
Tiberiu
Hi,
Did anyone attempt to use rspec and attachment_fu? How can I pass a
file to attachment_fu? What do I need to stub?
Thanks,
Tiberiu
Use { :uploaded_data =>
fixture_file_upload(filename_in_fixtures_directory) } in the params of
the post action
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs