Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

How to use in test environment #15

Open
brainet opened this issue Jul 1, 2013 · 1 comment
Open

How to use in test environment #15

brainet opened this issue Jul 1, 2013 · 1 comment

Comments

@brainet
Copy link

brainet commented Jul 1, 2013

如题!

@SideofClouds
Copy link

I'm also having a problem testing when making feature specs ... in controller specs I just use "controller.stub(:captcha_valid?).and_return(true)" but there should be an option to disable the validation entirely in the test environment.
In my feature spec I tried using many things to bypass the validation but with no success :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants