Sha256: ede42121daee4d907f7a34d90b6cb586c4d13b57c9517264be36da665cb09a71

Contents?: true

Size: 422 Bytes

Versions: 13

Compression:

Stored size: 422 Bytes

Contents

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

RSpec.describe Card::Set::All::RichHtml::Overlay do
  describe "overlay layout" do
    subject(:core_view) do
      Card["A"].format.show :core, wrap: :overlay
    end

    specify do
      expect(core_view)
        .to have_tag("div#main") do
        with_tag "div.card-slot.SELF-a._overlay.d0-card-overlay" do
          with_tag "span.card-title", "Z"
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-1.100.0 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.6 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.5 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.4 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.3 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.2 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.1 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.99.0 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.98.3 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.98.2 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.98.1 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.98.0 mod/standard/spec/set/all/rich_html/overlay_spec.rb
card-1.97.0.1 mod/standard/spec/set/all/rich_html/overlay_spec.rb