Commit c4641c52 authored by Ian Ynda-Hummel's avatar Ian Ynda-Hummel

Move tempo repos generated by spec_helper to a repos subdir.

parent 798459a2
......@@ -60,7 +60,7 @@ module SpecHelper
#--------------------------------------#
def tmp_repos_path
SpecHelper.temporary_directory + 'cocoapods'
SpecHelper.temporary_directory + 'cocoapods/master'
end
module_function :tmp_repos_path
......
......@@ -24,7 +24,7 @@ module Pod
end
it "returns the path to the deprecated spec-repos dir" do
@sut.repos_dir.should == Pathname.new("~/.cocoapods").expand_path
@sut.old_repos_dir.should == Pathname.new("~/.cocoapods").expand_path
end
it "allows to specify whether the aggressive cache should be used with an environment variable" do
......@@ -36,7 +36,7 @@ module Pod
it "allows to specify the home dir with an environment variable" do
ENV['CP_HOME_DIR'] = '~/custom_home_dir'
@sut.cocoapods_dir.should == Pathname.new("~/custom_home_dir").expand_path
@sut.home_dir.should == Pathname.new("~/custom_home_dir").expand_path
ENV.delete('CP_HOME_DIR')
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment