Fix compatibility with rspec 3.3

This commit is contained in:
Andy Meneely
2015-07-27 13:38:43 -04:00
parent e03a97ce7e
commit 5bbde3a259
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ describe Squib::Args::InputFile do
it 'raises on non-existent file' do
args = {file: 'foo.rb'}
expect { ifile.load!(args, expand_by: 1) }.to raise_error
expect { ifile.load!(args, expand_by: 1) }.to raise_error("File #{File.expand_path('foo.rb')} does not exist!")
end
end