Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
キャプチャを生成するために Simple Captcha プラグインを使用しています。これを処理するためにレールテストを変更する方法を知っている人はいますか?
Simple Captcha は、RAILS_ENV が「test」の場合、captcha が有効であることを自動的に返します。ソースコードから:
def simple_captcha_valid? return true if RAILS_ENV == 'test' ...