1
0
Fork 0
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:
Conrad Irwin 2014-01-23 23:00:12 -08:00
parent bb1418c623
commit 483728fcc7

View file

@ -18,7 +18,7 @@ describe "watch expression" do
eval "watch --delete"
end
it "registers the before_session hook" do
it "registers the after_eval hook" do
eval 'watch 1+1'
@tester.pry.hooks.hook_exists?(:after_eval, :watch_expression).should == true
end