0

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.

Jai Madhav
  • 603
  • 8
  • 17

1 Answers1

0

You can switch @app

@app = Admin.tap { }

or

@app = YourApp.tap { }

DAddYE
  • 1,719
  • 11
  • 16