Sha256: 1e14ccb4bc22c5f7114c8fc2c8ed7794391c63b4758762579ea88a32a79c0a21

Contents?: true

Size: 934 Bytes

Versions: 7

Compression:

Stored size: 934 Bytes

Contents

# -*- encoding : utf-8 -*-

describe Card::Set::All::Bar do
  specify "view mini_bar" do
    expect_view(:mini_bar).to have_tag("div.card-slot.bar-view")
  end

  specify "view bar_left" do
    expect_view(:bar_left).to have_tag("span.card-title")
  end

  xspecify "view bar_middle" do
    expect_view(:bar_middle).to have_tag("span.labeled-badge")
  end

  specify "view bar_bottom" do
    expect_view(:bar_bottom).to match(/Alpha/)
  end

  specify "view bar_page_link" do
    expect_view(:bar_page_link).to have_tag("a.text-muted") do
      with_tag "i"
    end
  end

  specify "view bar_expand_link" do
    expect_view(:bar_expand_link).to have_tag("a.slotter") do
      with_tag "i"
    end
  end

  specify "view bar_collapse_link" do
    expect_view(:bar_collapse_link).to have_tag("a.slotter") do
      with_tag "i"
    end
  end

  specify "view edit_button" do
    expect_view(:edit_button).to have_tag("a.btn")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.97.0 mod/item/spec/set/all/bar_spec.rb
card-1.96.8 mod/item/spec/set/all/bar_spec.rb
card-1.96.7 mod/item/spec/set/all/bar_spec.rb
card-1.96.6 mod/item/spec/set/all/bar_spec.rb
card-1.96.5 mod/item/spec/set/all/bar_spec.rb
card-1.96.4 mod/item/spec/set/all/bar_spec.rb
card-1.96.3 mod/item/spec/set/all/bar_spec.rb