Naoto Kaneko
557105640b
Add a failure message to be_detected_from matcher
2017-09-22 16:57:27 +09:00
Gautham Goli
626cb6ca91
audit: Add more tests for FormulaAudit/Miscellaneous cop
2017-09-18 18:03:54 +05:30
Dan Wendorf
acf1b278ae
List cask full-names
...
`brew cask list` supports the `--full-name` flag which will include the tap
name for casks not part of the core caskroom/cask tap. For example, if
cask "foo-beta" is installed from the caskroom/versions cask, `brew cask
list --full-name` will report the name as "caskroom/versions/foo-beta".
2017-09-16 10:00:06 -07:00
Mike McQuaid
e12d2746b6
os/mac/diagnostic: allow custom Ruby for devs.
...
This avoids `brew doctor` warnings on High Sierra but in general this is
a good idea for future versions and to allow Homebrew developers to test
things out with different versions of Ruby.
2017-09-15 08:06:58 +01:00
Markus Reiter
ef67b77d95
Make Cask commands fail early if a Cask is not found.
2017-09-11 09:04:51 +02:00
Markus Reiter
b0c98ba631
Fix _stanza
.
2017-09-10 23:12:32 +02:00
Markus Reiter
53ecdd843f
Treat every Artifact
instance as a single artifact.
2017-09-10 23:12:32 +02:00
Markus Reiter
5bcce735dd
Merge pull request #3143 from jsoref/spelling
...
Spelling
2017-09-10 23:11:01 +02:00
Markus Reiter
194a2c2ade
Make brew cask search
spec deterministic.
2017-09-10 21:56:25 +02:00
Josh Soref
8e4150b20b
spelling: should
2017-09-10 16:42:24 +00:00
Josh Soref
130fec0831
spelling: preserves
2017-09-10 16:40:29 +00:00
Josh Soref
b9a33b03a4
spelling: parameters
2017-09-10 16:39:18 +00:00
Josh Soref
a337620d97
spelling: omitted
2017-09-10 16:38:28 +00:00
Josh Soref
70ce9fe7f9
spelling: intermediate
2017-09-10 16:35:30 +00:00
Josh Soref
7b1cf6df5a
spelling: comparison
2017-09-10 16:30:30 +00:00
Mike McQuaid
72251e7bc1
Merge pull request #3122 from vszakats/patch-1
...
git_spec.rb: use HTTPS for Git remote test
2017-09-08 16:28:21 +01:00
Mike McQuaid
49d2d7b94d
home_spec: use different test formula.
...
Instead of `testball` use a formula named `testballhome` to avoid this
clashing with any other formula named testball.
2017-09-07 19:18:03 +01:00
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