Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
5a736c4d
Commit
5a736c4d
authored
Sep 14, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ config specs
parent
bdb96b1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
.kick
.kick
+3
-0
config_spec.rb
spec/unit/config_spec.rb
+25
-1
No files found.
.kick
0 → 100644
View file @
5a736c4d
recipe :ruby
Ruby.runner_bin = 'macbacon'
spec/unit/config_spec.rb
View file @
5a736c4d
...
...
@@ -15,6 +15,30 @@ describe "Pod::Config" do
end
it
"returns the path to the spec-repos dir"
do
config
.
repos_dir
.
should
==
File
.
expand_path
(
"~/.cocoa-pods"
)
config
.
repos_dir
.
should
==
Pathname
.
new
(
"~/.cocoa-pods"
).
expand_path
end
describe
"concerning a user's project, which is expected in the current working directory"
do
it
"returns the path to the project root"
do
config
.
project_root
.
should
==
Pathname
.
pwd
end
it
"returns the path to the project Podfile"
do
config
.
project_podfile
.
should
==
Pathname
.
pwd
+
'Podfile'
end
it
"returns the path to the Pods directory that holds the dependencies"
do
config
.
project_pods_root
.
should
==
Pathname
.
pwd
+
'Pods'
end
end
describe
"concerning default settings"
do
it
"does not print vebose information"
do
config
.
verbose
.
should
==
false
end
it
"cleans SCM dirs in dependency checkouts"
do
config
.
clean
.
should
==
true
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment