Sha256: e130c165c49f08908cdd28ddda4a341cc28600f2fcebb7980a2d366a81eaf490
Contents?: true
Size: 601 Bytes
Versions: 4
Compression:
Stored size: 601 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') require 'conditional_dcommit/package' describe ConditionalDcommit::Package do def subject ConditionalDcommit::Package end describe :data_path do it "should point to a directory containing data I care about" do File.file?(File.join(subject.data_path, 'stop_sign.jpg')).should be_true end end describe :data_file do it "should return a path starting with data_path and ending with the data file specified" do subject.data_file('foo').should == File.join(subject.data_path, 'foo') end end end
Version data entries
4 entries across 4 versions & 2 rubygems