From 9bd4f7ad69614ee009c351811deee9eb2a6c3d05 Mon Sep 17 00:00:00 2001 From: Sean Edge Date: Sun, 28 Dec 2014 14:48:59 -0500 Subject: [PATCH] Add test for Gitlab::Shell. --- spec/gitlab/shell_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/gitlab/shell_spec.rb b/spec/gitlab/shell_spec.rb index 99fa1f8af..a60a42d64 100644 --- a/spec/gitlab/shell_spec.rb +++ b/spec/gitlab/shell_spec.rb @@ -22,6 +22,11 @@ it "should set the Readline completion_proc" do completion = Readline.completion_proc expect(completion).to be_truthy + expect(completion).to be_a Proc + end + it "should set the Readline completion_append_character" do + completion_character = Readline.completion_append_character + expect(completion_character).to eq(' ') end end