configuration_methods_spec.rb 186 Bytes
Newer Older
1 2 3 4 5
describe "ensure configuration effects" do
  it "sets the captcha length as required" do
    expect(SimpleCaptcha.length).to eq(AppConfig.settings.captcha.captcha_length.to_i)
  end
end