spec/shelly/cli/main_spec.rb in shelly-0.1.28 vs spec/shelly/cli/main_spec.rb in shelly-0.1.29

- old
+ new

@@ -521,9 +521,17 @@ @main.should_receive(:check).with(false).and_return(false) fake_stdin(["foooo", "none"]) do invoke(@main, :add) end end + + it "should skip checking shelly requirements if --skip-requirements-check provided" do + @main.options = {"skip-requirements-check" => true} + @main.should_not_receive(:check) + fake_stdin(["foooo", "none"]) do + invoke(@main, :add) + end + end end describe "#list" do before do @user = Shelly::User.new