diff --git a/README.md b/README.md index c0c5209..4d27482 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,15 @@ View `app/views/account/new.html.erb` ``` +## Test skip captcha validation + +```rb +describe 'sign up and login', type: :feature do + before do + allow_any_instance_of(ActionController::Base).to receive(:verify_rucaptcha?).and_return(true) + end + + it { ... } +end +``` +