Is there any good way to test a controller and model of Sub APP in Padrino with rspec? I am a newbie experimenting with Padrino and Mongoid ORM. Can anyone provide me the link for examples showing rspecs for Sub APP and Main APP in Padrino.
Asked
Active
Viewed 383 times
1 Answers
0
You can switch @app
@app = Admin.tap { }
or
@app = YourApp.tap { }

DAddYE
- 1,719
- 11
- 16
-
Can You give a quick example how can I swith the app() ? – sumskyi Jan 18 '13 at 11:45