1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Use new syntax for tests

This commit is contained in:
Conrad Irwin 2014-08-16 16:42:28 -07:00
parent 1376726cf6
commit 0e091ff6c3

View file

@ -23,10 +23,10 @@ describe "reload_code" do
end end
it 'raises an error when pry command not found' do it 'raises an error when pry command not found' do
proc do expect do
pry_eval( pry_eval(
"reload-code not-a-real-command") "reload-code not-a-real-command")
end.should.raise(Pry::CommandError).message.should =~ /Cannot locate not-a-real-command!/ end.to raise_error(Pry::CommandError, /Cannot locate not-a-real-command!/)
end end
end end
end end