spec/cli/help_spec.rb in travis-1.11.1 vs spec/cli/help_spec.rb in travis-1.12.0

- old
+ new

@@ -1,33 +1,35 @@ +# frozen_string_literal: true + require 'spec_helper' describe Travis::CLI::Help do - example "travis help" do + example 'travis help' do run_cli('help').should be_success - stdout.should include("Usage: travis COMMAND") + stdout.should include('Usage: travis COMMAND') end - example "travis --help" do + example 'travis --help' do run_cli('--help').should be_success - stdout.should include("Usage: travis COMMAND") + stdout.should include('Usage: travis COMMAND') end - example "travis -h" do + example 'travis -h' do run_cli('-h').should be_success - stdout.should include("Usage: travis COMMAND") + stdout.should include('Usage: travis COMMAND') end - example "travis -?" do + example 'travis -?' do run_cli('-?').should be_success - stdout.should include("Usage: travis COMMAND") + stdout.should include('Usage: travis COMMAND') end - example "travis help endpoint" do + example 'travis help endpoint' do run_cli('help', 'endpoint').should be_success - stdout.should include("Usage: travis endpoint [OPTIONS]") + stdout.should include('Usage: travis endpoint [OPTIONS]') end - example "travis endpoint --help" do + example 'travis endpoint --help' do run_cli('endpoint', '--help').should be_success - stdout.should include("Usage: travis endpoint [OPTIONS]") + stdout.should include('Usage: travis endpoint [OPTIONS]') end end