Hi, I'm using the gem fakeweb to simulate the comunication between my ruby-app and different other apps when running my rspecs. The advantage is, that the specs work much faster and it is not nessessary that the other apps are currently avalable. But for testing the integration of my app, it is of course nessessary to check weather my component is compatible with the others. What im searching is something like a flag to the comment bundle exec rspec spec e.g. bundle exec rspec spec --fake do decide to run fakeweb or not. Does something like this exist and if so how can I realize this. Best regards Bernhard
on 2012-03-01 11:00
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.