Created
October 9, 2011 20:03
-
-
Save jondot/1274080 to your computer and use it in GitHub Desktop.
multi rack test with minitest/spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MiniTest::Spec | |
include Rack::Test::Methods | |
def set_app(app) | |
@app = app | |
end | |
def app | |
@app | |
end | |
def r | |
last_response | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment