Sha256: f2a5d6be8fff96e331db4bb5407177533615fbdc6e71d8e141fb4539f806f23e

Contents?: true

Size: 360 Bytes

Versions: 11

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'reporter'

    test_with_full_report do
        expect(full_report.to_h.to_yaml.recode).to eq(
            IO.read( outfile ).force_encoding( 'UTF-8' )
        )
    end

    test_with_empty_report do
        expect(empty_report.to_h.to_yaml).to eq(IO.binread( outfile ))
    end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/reporters/yaml_spec.rb
arachni-1.6.1.2 spec/components/reporters/yaml_spec.rb
arachni-1.6.1.1 spec/components/reporters/yaml_spec.rb
arachni-1.6.1 spec/components/reporters/yaml_spec.rb
arachni-1.6.0 spec/components/reporters/yaml_spec.rb
arachni-1.5.1 spec/components/reporters/yaml_spec.rb
arachni-1.5 spec/components/reporters/yaml_spec.rb
arachni-1.4 spec/components/reporters/yaml_spec.rb
arachni-1.3.2 spec/components/reporters/yaml_spec.rb
arachni-1.3.1 spec/components/reporters/yaml_spec.rb
arachni-1.3 spec/components/reporters/yaml_spec.rb