Sha256: 7c79b4ed1fdaef584b342bf88454348eef6957bf3c62dcda14e4ddc8ed92adf5

Contents?: true

Size: 1.61 KB

Versions: 7

Compression:

Stored size: 1.61 KB

Contents

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

# describe Card::Loader do
#   # let(:card_double) { double "Card" }
#   # let(:pat_all_double) { proxy Card::AllSet }
#   # let(:format_double) { proxy Card::Format }
#   # let(:html_format_double) { proxy Card::HtmlFormat }
#   # it "should auto-load Card class methods from lib/card and mods" do
#   #   #xpect(Card).to receive(:load_mods)
#   #   #
#   #   card = Card[:all]
#   #   expect(card_double).to receive(:load_formats)
#   #   #expect(Card).to receive(:load_sets)
#   #   #expect(Card).to receive(:tracks).with(:any_args) # so Card still loads without core in failure testing
#   #   Card[:all]
#   #   #expect(Card.instance_method(:version)).to be
#   #   # allow(Card).to receive(:version)
#   #   # expect(Card.instance_method(:type_card)).to be
#   #   # allow(Card).to receive(:file_path_sdfs)
#   #   #expect(Card.instance_method(:file_path)).to be
#   # end
#   # it "should define Card methods from modules" do
#   #   expect(Card.instance_method(:set_modules)).to be
#   # end
#   # it "should define Formatter methods from modules" do
#   #   #expect(Card.instance_method(:render_core)).to be
#   #   expect(Card.instance_method(:_render_raw)).to be
#   #   expect(Card.instance_method(:render_core)).to be
#   #   expect(Card.instance_method(:_render_raw)).to be
#   # end
#   # it "should define Formatter methods from modules" do
#   #   expect(html_format_double.method(:render_core)).to be
#   #   expect(html_format_double.method(:_render_raw)).to be
#   #   expect(html_format_double.method(:render_core)).to be
#   #   expect(html_format_double.method(:_render_raw)).to be
#   # end
# end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.18.6 spec/lib/card/loader_spec.rb
card-1.18.5 spec/lib/card/loader_spec.rb
card-1.18.4 spec/lib/card/loader_spec.rb
card-1.18.3 spec/lib/card/loader_spec.rb
card-1.18.2 spec/lib/card/loader_spec.rb
card-1.18.1 spec/lib/card/loader_spec.rb
card-1.18.0 spec/lib/card/loader_spec.rb