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
Post a Comment