Sha256: 07421bda7a2d6937cc13a31464db5bde82ce08a097a60f3289b887ab19500532
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Mutagem::Lockfile do before(:each) do # remove tmp/aruba FileUtils.rm_rf(current_dir) end it "should raise ArgumentError if initialized without a lock filename" do in_current_dir do lambda {Mutagem::Lockfile.new}.should raise_error(ArgumentError, 'lockfile not specified') lambda {Mutagem::Lockfile.new('mylock.lock')}.should_not raise_error end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutagem-0.1.3 | spec/mutagem/lockfile_spec.rb |