Sha256: 5433350331f01c5fef20ff3475b13aed2baa83e6d2f676a738028dc2f5330bb1

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

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

RSpec.describe Card::Set::Type::Setting do
  describe "rule_help view" do
    subject { Card[:read].format.render :rule_help }

    it "renders links (ie, not in template mode)" do
      is_expected.to have_tag("div.alert.alert-info.rule-instruction") do
        with_tag "a.known-card", text: "Set", with: { href: "/Set" }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.100.0 mod/settings/spec/set/type/setting_spec.rb
card-1.99.6 mod/settings/spec/set/type/setting_spec.rb
card-1.99.5 mod/settings/spec/set/type/setting_spec.rb
card-1.99.4 mod/settings/spec/set/type/setting_spec.rb
card-1.99.3 mod/settings/spec/set/type/setting_spec.rb
card-1.99.2 mod/settings/spec/set/type/setting_spec.rb
card-1.99.1 mod/settings/spec/set/type/setting_spec.rb
card-1.99.0 mod/settings/spec/set/type/setting_spec.rb