Sha256: bd67f658cd2951046948fb33b34cc40325de015d7554f6deaca6f6878f0970ac
Contents?: true
Size: 422 Bytes
Versions: 6
Compression:
Stored size: 422 Bytes
Contents
require "spec_helper" require File.join(File.dirname(__FILE__), '..', 'lib', 'devise_capturable', 'view_helpers') describe 'View Helpers' do it "should generate correct link" do class Testing include Devise::Capturable::Helpers end test = Testing.new link = test.link_to_capturable("Login") link.should == '<a href="#" class="capture_modal_open" id="capture_signin_link">Login</a>' end end
Version data entries
6 entries across 6 versions & 1 rubygems