Commit Graph
59 Commits
Author SHA1 Message Date
Maxim Belkin e5435dfeb7 Cross-platform diagnostics. 2018-05-14 04:44:15 -05:00
Mike McQuaid ae5e904c08 Only read curlrc if HOMEBREW_CURLRC is set.
This reverses the previous, incorrect order.
2018-04-09 15:43:03 -07:00
Mike McQuaidandGitHub 99b89e4866 Merge pull request #4022 from stefansundin/disable-curlrc
Tell curl to not use .curlrc
2018-04-08 16:37:49 -07:00
Mike McQuaid d331c47de0 diagnostic: remove check_user_curlrc check. 2018-04-08 16:07:21 -07:00
Mike McQuaid 9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Stefan Sundin 0ec47813f1 Prevent .curlrc from being loaded. 2018-04-06 14:13:26 -07:00
Mike McQuaid 5e1806e796 test: rubocop-rspec style auto-corrects.
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Mike McQuaidandGitHub cb6828dbe6 Merge pull request #3925 from maxim-belkin/git_remote_exists_bool
append ? to git_remote_exists
2018-03-15 08:20:14 +00:00
Maxim Belkin c99cfd1591 add ? to svn_remote_exist 2018-03-14 16:55:45 -05:00
Maxim Belkin f984701c29 append ? to git_remote_exist 2018-03-14 16:30:45 -05:00
Mike McQuaid 83cca40fc9 RuboCop 0.53.0 manual fixes. 2018-03-08 14:10:02 +00:00
Shaun Jackman d70d91cf2a test/utils/svn: Requires svn to succeed 2018-02-15 13:50:09 -08:00
joshua stein 7388acb86e Tty: if HOMEBREW_NO_COLOR env var is present, disable color
bin/brew will recognize NO_COLOR variable and copy it to
HOMEBREW_NO_COLOR
2018-02-12 14:19:25 -06:00
Mike McQuaidandGitHub 0d53831b90 Merge pull request #3515 from sjackman/popen
Utils.popen_read: Nonexistent program should fail
2017-12-03 09:23:01 +00:00
Shaun Jackman 7adee6d62f Utils.popen_read: Nonexistent program should fail
Ensure that $CHILD_STATUS.success? is false when the command does not exist.
2017-12-02 15:52:01 -08:00
Shaun Jackman 7c6d2c95f6 Fix a test failure when svn is not installed 2017-12-02 09:04:42 -08:00
Josh Soref b9a33b03a4 spelling: parameters 2017-09-10 16:39:18 +00:00
Viktor Szakats a6d1ddf326 git_spec.rb: use HTTPS for Git remote test 2017-09-07 08:02:05 +00:00
Mike McQuaidandGitHub 3bb98714af Merge pull request #2955 from mansimarkaur/git_tests
Added tests for utils/git
2017-09-02 15:53:32 +01:00
Misty De MeoandGitHub 156bca7dfb Merge pull request #2950 from mansimarkaur/svn
Added tests for utils/svn
2017-08-29 15:08:05 -07:00
mansimarkaur 784250d550 Used already existing clear_git_available_cache to remove @git 2017-08-29 22:53:10 +05:30
mansimarkaur db28126b4a Used clear_anonymous_os_prefix_ci_cache to remove @anonymous_os_prefix_ci 2017-08-29 16:24:19 +05:30
mansimarkaur 59f3c661a3 Used ENV.delete to remove set ENV vars 2017-08-29 16:24:19 +05:30
mansimarkaur a4d8d7ba57 Added tests for report_build_error 2017-08-29 16:24:19 +05:30
mansimarkaur 2660f5ae3e Added tests for report and report_event 2017-08-29 16:24:19 +05:30
mansimarkaur a4d4da64aa Added tests for os_prefix_ci 2017-08-29 16:24:19 +05:30
mansimarkaur d533973395 Used clear_svn_version_cache to remove @svn 2017-08-29 16:16:17 +05:30
mansimarkaur 53be6bb4bd Added check for svn availability 2017-08-29 16:16:17 +05:30
mansimarkaur cf96d8d970 Improved tests for svn_available? 2017-08-29 16:16:17 +05:30
mansimarkaur 13fb14a95f Added tests fir utils/svn 2017-08-29 16:16:17 +05:30
mansimarkaur c695dffd37 Added clear git version cache method 2017-08-27 01:23:32 +05:30
mansimarkaur 372a422305 Added tests for ensure_git_installed when git is available or homebrew/core is unavailable 2017-08-27 01:23:32 +05:30
mansimarkaur abe78ebb8e Removed shutup 2017-08-27 01:23:32 +05:30
mansimarkaur 4f0f55a774 Used system command to run git commands 2017-08-27 01:23:32 +05:30
mansimarkaur 660617a35b Added tests for Utils 2017-08-27 01:23:32 +05:30
mansimarkaur 657b6ef7fb Added tests for git_available? 2017-08-27 01:23:32 +05:30
mansimarkaur d91036e891 Added tests for last_revision_commit_of_file 2017-08-27 01:23:32 +05:30
Ben Muschol 564a06dfbb Fix typo in spec 2017-08-17 13:44:18 -04:00
Ben Muschol e096836b7b Improve rspec readability 2017-08-17 11:57:58 -04:00
Ben Muschol 7a93638105 Make test more resilient 2017-08-17 11:40:32 -04:00
Ben Muschol 5f8d212ccc Unify vocabulary in github module, remove unnecessary logic
Fix duplication bug
2017-08-14 14:45:24 -04:00
Ben Muschol 68cdb550f7 Spec for issues search 2017-08-14 12:06:12 -04:00
Ben Muschol 603bdd01a8 Implement PR feedback 2017-08-14 11:08:56 -04:00
Ben Muschol 24da1ecd3d Fix url encoded in expected values 2017-08-13 17:16:45 -04:00
Ben Muschol e93ec12b32 Remove duplicate url generation logic in Github module 2017-08-13 15:03:44 -04:00
Markus Reiter a1f9032b95 🗑️ Use AppleScript instead of Swift for trashing. 2017-06-24 09:15:37 +02:00
Markus Reiter fc739bf82e Add trash util. 2017-06-20 15:53:33 +02:00
Mike McQuaid 021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Markus Reiter 4b804389e1 Add test for GitHub::search_code. 2017-04-25 12:29:01 +02:00
Mike McQuaid ba3c46d24f More deprecations.
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00