Sha256: 7e59877629f0f230f8907a1322a5a2a516ea851e150581b06e6fb91633530cfe

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

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

#--

shared_examples_for 'no link_to caption (Rails)' do
  specify 'uses the original link_to helper which sets the link to the caption' 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/rails/link_to_helper.rb
railsstrap-4.0.0.beta2 spec/rails/link_to_helper.rb
bh-1.3.6 spec/rails/link_to_helper.rb
bh-1.3.5 spec/rails/link_to_helper.rb
bh-1.3.4 spec/rails/link_to_helper.rb
bh-1.3.3 spec/rails/link_to_helper.rb