mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix hook name in test
This commit is contained in:
parent
bb1418c623
commit
483728fcc7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ describe "watch expression" do
|
||||||
eval "watch --delete"
|
eval "watch --delete"
|
||||||
end
|
end
|
||||||
|
|
||||||
it "registers the before_session hook" do
|
it "registers the after_eval hook" do
|
||||||
eval 'watch 1+1'
|
eval 'watch 1+1'
|
||||||
@tester.pry.hooks.hook_exists?(:after_eval, :watch_expression).should == true
|
@tester.pry.hooks.hook_exists?(:after_eval, :watch_expression).should == true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue