Sha256: 5a8e895a34d39a64a711262f34979d9dd73b8599710a631cc1bac15b04780379

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

describe BootstrapIt::ViewHelpers::Label do
  it { expect(helper).to render_with 'span.label.label-default' }
  it { expect(helper).to be_kind_of WrapIt::TextContainer }
  it { expect(helper).to have_enum :appearence }
  it { expect(helper :danger).to render_with 'span.label.label-danger' }
end

describe BootstrapIt::ViewHelpers::Badge do
  it { expect(helper).to render_with 'span.badge' }
  it { expect(helper).to be_kind_of WrapIt::TextContainer }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_it-0.1.1 spec/view_helpers/text_spec.rb
bootstrap_it-0.1.0 spec/view_helpers/text_spec.rb