Sha256: 450ec9e7e790e68017fffe69c77edee908c446b4985c22a7566ed274b27bd9ad

Contents?: true

Size: 595 Bytes

Versions: 9

Compression:

Stored size: 595 Bytes

Contents

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

describe Card::Set::All::RichHtml::Editing do
  describe "edit_nests view" do
    it "shows editors for both absolute and relative nests" do
      card_subject.content = "{{absolute}} AND {{+relative}}"
      expect_view(:edit_nests).to have_tag "div.SELF-a" do
        with_tag "div.card-editor", with: { card_name: "absolute" }
        with_tag "div.card-editor", with: { card_name: "A+relative" }
      end
    end
  end

  check_views_for_errors :edit, :edit_buttons, :edit_name, :edit_type, :edit_rules,
                         :edit_structure, :edit_nests
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
card-1.96.8 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.7 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.6 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.5 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.4 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.3 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.2 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.1 mod/standard/spec/set/all/rich_html/editing_spec.rb
card-1.96.0 mod/standard/spec/set/all/rich_html/editing_spec.rb