Sha256: 742e77ff84594cfa8abd3d3240b33d9fb5bb8f6854ffaa7f9e116640f9674ce6

Contents?: true

Size: 535 Bytes

Versions: 27

Compression:

Stored size: 535 Bytes

Contents

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

RSpec.describe Card::Set::Abstract::Machine do
  describe "#make_machine_output_coded" do
    it "creates coded file" do
      Card[:all, :script].make_machine_output_coded
      mod_path = Card::Mod.dirs.path "machines"
      path = File.join mod_path, "file", "all_script_machine_output", "file.js"
      expect(File.exist?(path)).to be_truthy
    end
  end
  
  example "machine config" do
    card = Card["A"].with_set Card::Set::Abstract::Machine
    expect(card).to respond_to :engine_input
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
card-1.100.0 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.6 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.5 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.4 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.3 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.2 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.1 mod/machines/spec/set/abstract/machine_spec.rb
card-1.99.0 mod/machines/spec/set/abstract/machine_spec.rb
card-1.98.3 mod/machines/spec/set/abstract/machine_spec.rb
card-1.98.2 mod/machines/spec/set/abstract/machine_spec.rb
card-1.98.1 mod/machines/spec/set/abstract/machine_spec.rb
card-1.98.0 mod/machines/spec/set/abstract/machine_spec.rb
card-1.97.0.1 mod/machines/spec/set/abstract/machine_spec.rb
card-1.97.0 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.8 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.7 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.6 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.5 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.4 mod/machines/spec/set/abstract/machine_spec.rb
card-1.96.3 mod/machines/spec/set/abstract/machine_spec.rb