Sha256: 9537312f9cd99d36ef8c05c3c71f91b110b358672ac88a4d5d200c9da3ff190f

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe FileRequirement do
  describe '#load' do
    it 'should load the file given during initialization' do
      req = FileRequirement.new('dummy')
      expect { Testing::Testing::Dummy }.to raise_error
      req.load
      expect { Testing::Testing::Dummy }.not_to raise_error
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
music-arrangement-0.3.0 spec/file_requirement_spec.rb