Sha256: 320f108a746cb3631e71b0bf31bfcd105725039b6bc987a19d6b05a5605b71e8

Contents?: true

Size: 714 Bytes

Versions: 36

Compression:

Stored size: 714 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_asciidoctor_base0/instances/build'
require 'eac_fs/comparator'

::RSpec.describe ::Avm::EacAsciidoctorBase0::Instances::Build do
  let(:app_director) { eac_asciidoctor_base0_stubs }
  let(:fs_comparator) { ::EacFs::Comparator.new.truncate_file('*.html') }
  let(:instance) { described_class.new(app_director.instance) }

  include_examples 'source_target_fixtures', __FILE__ do
    def source_data(source_file)
      ::FileUtils.copy_entry(source_file, app_director.source.path)
      instance.perform
      fs_comparator.build(instance.target_directory)
    end

    def target_data(target_file)
      fs_comparator.build(target_file.to_pathname)
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
eac_tools-0.82.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.81.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.80.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.79.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.78.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.77.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.77.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.76.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.76.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.75.2 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.75.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.75.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.74.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.74.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.73.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.72.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.70.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.70.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.69.1 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
eac_tools-0.69.0 sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb