spec/unit/berkshelf/api/srv_ctl_spec.rb in berkshelf-api-2.0.0 vs spec/unit/berkshelf/api/srv_ctl_spec.rb in berkshelf-api-2.1.0

- old
+ new

@@ -18,12 +18,12 @@ it "sets :pid_file to the given value" do expect(subject[:port]).to eql(1234) end end - context "given -v" do - let(:args) { ["-v"] } + context "given -V" do + let(:args) { ["-V"] } it "sets :log_level to INFO" do expect(subject[:log_level]).to eql("INFO") end end @@ -42,11 +42,11 @@ it "sets :log_location to /dev/null" do expect(subject[:log_location]).to eql("/dev/null") end end - context "given -v and -d" do - let(:args) { ["-v", "-d"] } + context "given -V and -d" do + let(:args) { ["-V", "-d"] } it "sets :log_level to DEBUG" do expect(subject[:log_level]).to eql("DEBUG") end end