Sha256: 8b35aab5dfbc408c202a387cd4ce9783f635296a645e183257160ce00a8740a7
Contents?: true
Size: 407 Bytes
Versions: 8
Compression:
Stored size: 407 Bytes
Contents
require 'spec_helper' require 'tempfile' describe GithubChart::Chart do let(:svg) { GithubChart.new.svg } before(:all) do @file = Tempfile.new('svg') @file.write(GithubChart.new.svg) @path = @file.path @file.close end after(:all) { @file.unlink } describe '#svg' do it 'makes an SVG' do expect(`file #{@path}`).to include('Scalable Vector Graphic') end end end
Version data entries
8 entries across 8 versions & 1 rubygems