ruby - Testing Sinatra Applications inside Rails -


i've created simple application assist me in learning rails.

because challenge, i've started build, inside application, sinatra app (to handle api calls without overhead of full rails stack).

i've come point want start testing both applications before move further, i'm not sure write tests sinatra app. it's presently located under lib/api - should create tests folder underneath that, or use main rails test folder @ root?

you can test sinatra app in request of rspec example or integration test.

in part need define url want request , see result.


Comments

Popular posts from this blog

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

android - Spacing between the stars of a rating bar? -

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -