Adam Smith
270bf0506a
stylistic changes for cask info tests
2017-10-02 11:34:50 -07:00
Markus Reiter
3bb89f5440
Only run trash test when collecting coverage.
2017-10-01 22:26:04 +02:00
Adam Smith
92311901c9
add available languages to cask info command
...
add language tests for dsl
add fixtures, tests for languages info output
add extra lines
2017-09-30 18:25:12 -07:00
Vítor Galvão
03e37faea4
Merge pull request #3234 from reitermarkus/locale
...
Support UN M.49 region codes.
2017-09-29 19:23:50 +01:00
Markus Reiter
479544665b
Support UN M.49 region codes.
2017-09-29 11:41:23 +02:00
Shaun Jackman
3ed832d4f0
BottleLoader: Use the formula stored in the bottle
2017-09-28 12:29:23 -07:00
Shaun Jackman
9642ec769e
testball_bottle-0.1: Add the formula to the bottle
...
Update the SHA-256.
2017-09-28 12:29:23 -07:00
Shaun Jackman
3ebf282269
pour_bottle?: Fix when formula.bottle is nil
...
formula.bottle is nil when bottle.compatible_cellar? is false.
Use formula.bottle_specification.compatible_cellar? rather
than formula.bottle.compatible_cellar?.
2017-09-28 12:29:22 -07:00
ilovezfs
5377a42f7f
Revert "Added tests for os/mac/keg"
2017-09-27 02:57:12 -07:00
mansimarkaur
9f57840486
test: Tests for os/mac/keg
2017-09-26 19:06:57 -04:00
Mike McQuaid
046486900e
Merge pull request #3186 from naoty/detect-failure-message
...
Add a failure message to be_detected_from matcher
2017-09-22 21:13:55 +01:00
Naoto Kaneko
5fa4d60c7b
Replace String#% with Kernel.#format
2017-09-22 17:53:48 +09:00
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