Sha256: 5a71897c6b4110d5db96a8e539a2b1cd4b2ecafa63283f0b74676b4313b90aab
Contents?: true
Size: 431 Bytes
Versions: 2
Compression:
Stored size: 431 Bytes
Contents
require 'spec_helper' describe BootstrapIt::ViewHelpers::Breadcrumb do it { expect(helper).to render_with 'ol.breadcrumb' } it { expect(helper).to be_kind_of WrapIt::Container } it { expect(helper { |h| h.item :active }).to render_with 'ol > li.active' } it 'reders links' do expect( helper { |h| h.link_item 'test', 'http://url' } ).to render_with 'ol > li > a[@href="http://url"][text()="test"]' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_it-0.1.1 | spec/view_helpers/breadcrumb_spec.rb |
bootstrap_it-0.1.0 | spec/view_helpers/breadcrumb_spec.rb |