diff options
author | Kamil Kieliszczyk <kamil@kieliszczyk.net> | 2014-01-21 11:39:26 +0100 |
---|---|---|
committer | Kamil Kieliszczyk <kamil@kieliszczyk.net> | 2014-01-21 11:39:26 +0100 |
commit | a26b6f0ef30813d18de334e24e23ef5b6643c706 (patch) | |
tree | 3a902615bbb5de956162ca89d214c90d5d7ac879 /spec/bundler/cli_spec.rb | |
parent | 2e7b9096bab188b0efa87c9dd91748b1fab3ed82 (diff) | |
download | bundler-a26b6f0ef30813d18de334e24e23ef5b6643c706.tar.gz |
Change suffix from _rspec to _spec
Diffstat (limited to 'spec/bundler/cli_spec.rb')
-rw-r--r-- | spec/bundler/cli_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/bundler/cli_spec.rb b/spec/bundler/cli_spec.rb new file mode 100644 index 0000000000..ca15290e3d --- /dev/null +++ b/spec/bundler/cli_spec.rb @@ -0,0 +1,13 @@ +require 'spec_helper' + +describe "bundle executable" do + it "returns non-zero exit status when passed unrecognized options" do + bundle '--invalid_argument', :exitstatus => true + expect(exitstatus).to_not be_zero + end + + it "returns non-zero exit status when passed unrecognized task" do + bundle 'unrecognized-tast', :exitstatus => true + expect(exitstatus).to_not be_zero + end +end |