Ben Muschol
ca05c7f010
Change var name
2017-08-17 14:38:50 -04:00
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
Gautham Goli
db20b0c281
audit: In Cops and their tests convert all multiline strings to heredocs
2017-08-17 11:41:58 +05:30
Mislav Marohnić
80ae5b2660
bump-formula-pr: forward compatibility with hub fork
...
Due to limitations of `hub fork` in hub 2.2, scripts had to repeat the
command at least two times; the 2nd time was to read the fork name from
the "fatal: remote MYNAME already exists" message output from git.
In upcoming hub 2.3, the `hub fork` command is improved to always output
the remote name, regardless of whether one already existed or not. With
this approach, only one `hub fork` call will ever be necessary when hub
is up to date.
2017-08-15 17:32:12 +02:00
JCount
daa0ea4b8a
Merge pull request #3060 from JCount/gpg-stop-pinentry-launch
...
gpg: prevent pinentry from launching when creating test key
2017-08-15 11:14:26 -04:00
Gautham Goli
afdd0e2437
add tests for condition dependencies
2017-08-15 16:09:32 +05:30
Mike McQuaid
8518ffdee1
Merge pull request #3059 from MikeMcQuaid/why-search-take-so-long
...
search: explain why it takes the time it does.
2017-08-15 10:49:47 +01:00
Mike McQuaid
961d79011e
search: explain why it takes the time it does.
...
Provide a bit of clarity that this isn't just searching a local database
but doing an GitHub API and Git history query.
2017-08-15 10:25:51 +01:00
Andrew Janke
60d8218abf
Merge pull request #2996 from apjanke/non-formula-reqs-in-brew-deps-tree
...
brew deps: add --include-requirements, plus some fixes
2017-08-14 20:19:39 -04:00
JCount
c1ed6b8858
gpg: prevent pinentry from launching when creating test key
...
this is accomplished by setting an empty password in the gnupg
batch input file
2017-08-14 18:02:18 -04:00
Gautham Goli
efabd4b5c2
Add tests for MACOS version consts usage
2017-08-15 00:42:56 +05:30
Gautham Goli
2f94d5f499
add test for ARGV.include?
2017-08-15 00:36:37 +05:30
Gautham Goli
3fc6cc1a3a
add test for ENV.fortran
2017-08-15 00:32:34 +05:30
Gautham Goli
5744cd9066
add test for inspecting version
2017-08-15 00:29:58 +05:30
Gautham Goli
cfc423e183
add tests for dependencies
2017-08-15 00:27:09 +05:30
Ben Muschol
5f8d212ccc
Unify vocabulary in github module, remove unnecessary logic
...
Fix duplication bug
2017-08-14 14:45:24 -04:00
Gautham Goli
d2a7314f53
add test for env mod through system call
2017-08-14 23:32:06 +05:30
Gautham Goli
64a929184a
add tests for vendored deps
2017-08-14 23:05:00 +05:30
Gautham Goli
063cbe7acd
add tests for formula path shortucut 3
2017-08-14 22:44:28 +05:30
Gautham Goli
9c9c280c8a
add tests for formula path string 1
2017-08-14 21:45:01 +05:30
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
Gautham Goli
65ae6bacd8
add tests for hardcoded compilers in ENV
2017-08-14 20:10:45 +05:30
Gautham Goli
77468fdae3
add tests for hard coded compilers in system calls
2017-08-14 19:58:39 +05:30
Gautham Goli
af5cd1a1da
add tests for man+'man[1-8]'
2017-08-14 15:41:03 +05:30
Gautham Goli
76f4eccdce
add test for using ARGV to check options
2017-08-14 15:22:44 +05:30
Mike McQuaid
9e8da170ff
Merge pull request #3052 from rhwood/patch-2
...
Remove "*instal" aliases from bash completion
2017-08-14 09:42:24 +01:00
Gautham Goli
dc4d10ff6a
add test for build.include? having dashed args
2017-08-14 02:49:52 +05:30
Gautham Goli
3ff8be1216
add test for build.include?
2017-08-14 02:47:29 +05:30
Ben Muschol
24da1ecd3d
Fix url encoded in expected values
2017-08-13 17:16:45 -04:00
Gautham Goli
5a7cbb762f
add test for build.with? "--with-foo"
2017-08-14 02:43:54 +05:30
Gautham Goli
02a1406a2e
add test for build.without --without-foo
2017-08-14 02:32:29 +05:30
Gautham Goli
3efba57cd9
Add negated? method to formula cop and add tests for negated build.without?
2017-08-14 02:18:46 +05:30
Gautham Goli
e14fedd1b3
Add test for negated build.with?
2017-08-14 02:14:20 +05:30
Ben Muschol
d052f503f9
fix typo
2017-08-13 16:41:18 -04:00
Gautham Goli
ec2b0df10e
Add tests for unless build.with?
2017-08-14 01:55:47 +05:30
Gautham Goli
f968776e84
Add tests for unless build.without?
2017-08-14 01:52:48 +05:30
Ben Muschol
91b139aca2
Fix syntax error
2017-08-13 16:15:26 -04:00
Gautham Goli
6dad9d8b44
Add test for top level method def
2017-08-14 01:25:44 +05:30
Gautham Goli
7dfe09ccae
Add tests for fileUtils call in system
2017-08-14 01:09:06 +05:30
Ben Muschol
acf46fce5f
Rename path_to -> url_to since it returns a url
2017-08-13 15:03:52 -04:00
Ben Muschol
e93ec12b32
Remove duplicate url generation logic in Github module
2017-08-13 15:03:44 -04:00
Gautham Goli
a73c29fef2
add tests for non glob dirs audit
2017-08-14 00:02:44 +05:30
Randall Wood
d7baf81373
Make comment easier to read.
2017-08-13 10:58:58 -04:00
Randall Wood
3396387b52
Remove "*instal" aliases from bash completion
...
Remove all command aliases ending in "instal" (single letter L) from the bash completion. This has the practical effect of removing the aliases "instal" and "uninstal" from bash completion, allowing "install" and "uninstall" to be auto completed once the first three characters of each "ins" or "uni" are typed in.
2017-08-13 08:46:48 -04:00
Gautham Goli
77105b809a
Add tests for macOS check
2017-08-13 14:50:29 +05:30
Gautham Goli
686fc514cf
Add tests for assert match and depends_on instance audit rules
2017-08-12 23:28:08 +05:30
Gautham Goli
087c1ca8d6
audit: Port rules from line_problems to rubocop part 4(WIP-3)
2017-08-12 20:50:43 +05:30