Sha256: 6a3da8dd59050c232a30f582ee47352849d957eb6f41b6a1326105769deb4abc

Contents?: true

Size: 340 Bytes

Versions: 10

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'reporter'

    test_with_full_report do
        full_report.to_h.to_yaml.recode.should ==
            IO.read( outfile ).force_encoding( 'UTF-8' )
    end

    test_with_empty_report do
        empty_report.to_h.to_yaml.should == IO.binread( outfile )
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arachni-1.2.1 spec/components/reporters/yaml_spec.rb
arachni-1.2 spec/components/reporters/yaml_spec.rb
arachni-1.1 spec/components/reporters/yaml_spec.rb
arachni-1.0.6 spec/components/reporters/yaml_spec.rb
arachni-1.0.5 spec/components/reporters/yaml_spec.rb
arachni-1.0.4 spec/components/reporters/yaml_spec.rb
arachni-1.0.3 spec/components/reporters/yaml_spec.rb
arachni-1.0.2 spec/components/reporters/yaml_spec.rb
arachni-1.0.1 spec/components/reporters/yaml_spec.rb
arachni-1.0 spec/components/reporters/yaml_spec.rb