From 483728fcc78deb478c3fe8db4629b3b63fca18a2 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 23 Jan 2014 23:00:12 -0800 Subject: [PATCH] Fix hook name in test --- spec/commands/watch_expression_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/commands/watch_expression_spec.rb b/spec/commands/watch_expression_spec.rb index 71984e58..ea10ae87 100644 --- a/spec/commands/watch_expression_spec.rb +++ b/spec/commands/watch_expression_spec.rb @@ -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