FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
github_cli/spec/github_cli/helpers_spec.rb at master · danieldeb/github_cli · GitHub
danieldeb
/
github_cli
Public
forked from
piotrmurach/github_cli
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
github_cli
/
spec
/
github_cli
/
helpers_spec.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 457 Bytes
Breadcrumbs
github_cli
/
spec
/
github_cli
/
helpers_spec.rb
Copy path
File metadata and controls
18 lines (15 loc) · 457 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require
'spec_helper'
describe
GithubCLI
::
Helpers
do
subject
{
described_class
}
it
'throws error if config file does not exist'
do
pending
subject
.
stub
(
:find_configfile
)
.
and_return
nil
expect
{
subject
.
default_configfile
}
.
to
raise_error
(
GithubCLI
::
ConfigFileNotFound
)
end
it
'finds current directory'
do
current
=
File
.
expand_path
(
'../../../'
,
__FILE__
)
described_class
.
find_configfile
.
should
==
current
end
end
Back
|
FazBrowse Home
|
New Git URL