configuration_methods_spec.rb 217 Bytes
Newer Older
1 2
# frozen_string_literal: true

3 4 5 6 7
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