rucaptcha/spec/view_spec.rb

12 lines
288 B
Ruby
Raw Normal View History

2017-02-15 04:31:25 +00:00
require 'spec_helper'
describe ActionView::Base do
describe '.rucaptcha_input_tag' do
it 'should work' do
2019-12-20 07:00:23 +00:00
context = ActionView::LookupContext.new([])
view = ActionView::Base.new(context)
2017-02-15 04:31:25 +00:00
expect(view.respond_to?(:rucaptcha_input_tag)).to eq true
end
end
end