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

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

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -