Sha256: f440fa313fd0a0235a8fdec247651835a6556a0b038b7d1889f3c5e01af21249
Contents?: true
Size: 478 Bytes
Versions: 9
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe name_from_filename do include_examples 'report' test_with_full_report do json = IO.read( outfile ) JSON.pretty_generate( full_report.to_hash ).should == json JSON.load( json ).is_a?( Hash ).should be_true end test_with_empty_report do json = IO.read( outfile ) JSON.pretty_generate( empty_report.to_hash ).should == json JSON.load( json ).is_a?( Hash ).should be_true end end
Version data entries
9 entries across 9 versions & 1 rubygems