Sha256: 38609e2de127ffa5e23ad1351c8ca2c942388e3b933a0b64d58eb2080ba66dd7
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 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' }) do with_tag :div, with: { class: 'well' } end ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems