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:
parent
1376726cf6
commit
0e091ff6c3
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ describe "reload_code" do
|
|||
end
|
||||
|
||||
it 'raises an error when pry command not found' do
|
||||
proc do
|
||||
expect do
|
||||
pry_eval(
|
||||
"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
|
||||
|
|
Loading…
Reference in a new issue