2459 Commits

Author SHA1 Message Date
Viktor Szakats
a6d1ddf326 git_spec.rb: use HTTPS for Git remote test 2017-09-07 08:02:05 +00:00
Mike McQuaid
bf0ab938e7 Merge pull request #3091 from GauthamGoli/audit_line_rubocop_part_3
audit: Port line_problems to rubocop and add tests part 3
2017-09-05 18:10:02 +01:00
Gautham Goli
4ec26aea40 audit: Port audit_class to rubocop, add tests and autocorrect 2017-09-04 23:43:42 +05:30
Gautham Goli
337d5c6470 audit: Fetch formula name from file path rather than class name in cops 2017-09-04 15:05:43 +05:30
Gautham Goli
b582ed513b audit: Add tests for rubocop methods in line_cop.rb 2017-09-04 15:05:43 +05:30
Mike McQuaid
3bb98714af Merge pull request #2955 from mansimarkaur/git_tests
Added tests for utils/git
2017-09-02 15:53:32 +01:00
Markus Reiter
2f133725a2 Merge pull request #3084 from laughedelic/cask/search-offline
Offline cask search and listing all available casks
2017-09-02 15:28:05 +02:00
Alexey Alekhin
8e5ad9ad9b Minor tests formatting change 2017-09-02 02:29:56 +02:00
Misty De Meo
a26cde8299
search_remote_tap spec: fix test offline
Even though we stub the JSON response, the method being tested always
returns [] immediately if HOMEBREW_NO_GITHUB_API is set.
2017-08-31 22:29:43 -07:00
Alexey Alekhin
68dd0ac918 Changed warning message as recommended by @reitermarkus 2017-08-31 03:03:00 +02:00
Misty De Meo
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
mansimarkaur
01714b17ee Used let for sec_in_a_day and removed redundant after(:each) block 2017-08-27 01:18:41 +05:30
mansimarkaur
5f7a93bceb Corrected test name 2017-08-27 01:18:41 +05:30
mansimarkaur
ec30de69c3 Added tests for existence of files 2017-08-27 01:18:41 +05:30
mansimarkaur
e7c2efa42f Corrected disk_cleanup_size test 2017-08-27 01:18:41 +05:30
mansimarkaur
6b5e4bb938 Use let over instance_var 2017-08-27 01:18:40 +05:30
mansimarkaur
86f7d208d0 Added tests for prune? 2017-08-27 01:18:40 +05:30
mansimarkaur
134539aa55 Added tests for cleaning up old files in HOMEBREW_CACHE 2017-08-27 01:18:40 +05:30
mansimarkaur
265d43444b improved prune all test 2017-08-27 01:18:40 +05:30
mansimarkaur
5e17d63010 Added tests for ARGV prune 'all' 2017-08-27 01:18:40 +05:30
mansimarkaur
c1799bb497 Added tests for disk_cleanup and unremovable kegs 2017-08-27 01:18:40 +05:30
Gautham Goli
d00c515dd8 audit: Add previously unported GH patch audit rule in Patches cop 2017-08-26 18:06:00 +05:30
Alexey Alekhin
6ac0b9881d Fixed test for the changed error message 2017-08-26 02:43:28 +02:00
Alexey Alekhin
29b0c7d747 Added a test for no-macthes output to non-TTY 2017-08-26 02:05:35 +02:00
Alexey Alekhin
68c837f041 Unified tests formatting for multiline output matching 2017-08-26 02:01:08 +02:00
Alexey Alekhin
3b7e0d8dbe Added tests for cask search with online search failure 2017-08-26 01:54:24 +02:00
JCount
6023e408da Merge pull request #2995 from GauthamGoli/audit_line_rubocop_part_2
audit: Port line_problems to rubocop and add tests part 2
2017-08-23 16:16:07 -04:00
Mike McQuaid
2c43e069c2 Merge pull request #3083 from puredanger/remove-clojure-blacklist
blacklist - remove clojure
2017-08-23 18:37:15 +01:00
Mike McQuaid
97c75bfd40 Merge pull request #3077 from vszakats/https1708
upgrade more urls to https
2017-08-22 22:22:09 +01:00
puredanger
9bc706f1fc remove blacklisting of Clojure to allow adding a Clojure formula 2017-08-22 12:17:11 -05:00
Viktor Szakats
b44c7a1022 upgrade more urls to https 2017-08-22 10:31:21 +00:00
Camden Narzt
c9f4d1c35d
style 2017-08-21 19:25:37 -06:00
Camden Narzt
ab8a6f31e8
Add test 2017-08-21 19:22:17 -06:00