2015-10-26 13:55:46 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe RuCaptcha do
|
|
|
|
describe 'normal' do
|
|
|
|
it 'should read right config with spec_helper set' do
|
|
|
|
expect(RuCaptcha.config.len).to eq(2)
|
2015-11-05 10:20:41 +00:00
|
|
|
expect(RuCaptcha.config.font_size).to eq(48)
|
2015-10-26 13:55:46 +00:00
|
|
|
expect(RuCaptcha.config.implode).to eq(0.111)
|
2016-03-14 08:41:27 +00:00
|
|
|
expect(RuCaptcha.config.expires_in).to eq(2.minutes)
|
2015-10-26 13:55:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|