Sha256: 246afdbf07fe26923b5be32b0656344c7962c645825190e758b747ff8ba7ed95
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 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.2.0 | spec/mutagem/lockfile_spec.rb |