Sha256: 8d071988609ebafd96eba19a226eb1c533940bad8295f67c11259db36c69ba84

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

shared_examples_for 'the link_to helper (Padrino)' do
  all_tests_pass_with 'no link_to caption (Padrino)'
end

#--

shared_examples_for 'no link_to caption (Padrino)' do
  specify 'uses the original link_to helper which sets an empty link text' do
    html = '<a href="/"></a>'
    expect(link_to: :nil_name).to generate html
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
railsstrap-4.0.0.beta3 spec/padrino/link_to_helper.rb
railsstrap-4.0.0.beta2 spec/padrino/link_to_helper.rb
bh-1.3.6 spec/padrino/link_to_helper.rb
bh-1.3.5 spec/padrino/link_to_helper.rb
bh-1.3.4 spec/padrino/link_to_helper.rb
bh-1.3.3 spec/padrino/link_to_helper.rb