rucaptcha/spec/configure_spec.rb

13 lines
336 B
Ruby
Raw Normal View History

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)
expect(RuCaptcha.config.width).to eq(123)
expect(RuCaptcha.config.height).to eq(33)
expect(RuCaptcha.config.implode).to eq(0.111)
end
end
end