Sha256: f0768818649a02aaf3abc8eedb2f5554752183e711534cdeaebd797e2cbcbe21

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

require 'rails_helper'

module BootstrapLeather
  RSpec.describe WidgetsHelper, folder: :helpers do
    helper GridHelper
    describe '#add_widget and #render_widgets' do
      before do
        helper.add_widget do
          Faker::Lorem.paragraph
        end
      end
      subject { helper.render_widgets('md', 3) }
      it 'shows the tab links' do
        expect(subject).to(have_tag(:div, with: { class: 'col-md-3' }))
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.14 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.13 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.11 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.10 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.9 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.8 spec/helpers/bootstrap_leather/widgets_helper_spec.rb
bootstrap_leather-0.10.7 spec/helpers/bootstrap_leather/widgets_helper_spec.rb