require_relative "spec_helper" include CliTester include GivenFilesystemSpecHelpers describe "command line interface" do use_given_filesystem(keep_files: true) it "does not find yes_ship_it.conf" do dir = given_directory expect(run_command(working_directory: dir)).to exit_with_error(1, /yes_ship_it.conf/) end describe "runs" do it "fails when version is not there" do dir = given_directory setup_test_git_repo("000", dir) expected_output = <