ruby on rails - How to test controllers import/export csv files actions in rspec? -


in 1 of projects there controller allows import & export data in csv format. of works. there many developers on project, , i'm afraid functionality broken. there no tests. efficient way of testing functionality?

the efficient way test functionality, unit testing classes imports/exports csv data, testing controller calls classes, , response formats.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -