-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91acd3a
commit 21a9fe2
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,11 @@ | |
it "should work if you just keep hitting enter" do | ||
FileUtils::mkdir_p 'spec/staging' | ||
Dir.chdir('spec/staging') do | ||
puts "Vendoring with default settings" | ||
puts "Vendoring with simple settings" | ||
path = Dir.pwd + '/../mock:' + ENV['PATH'] | ||
command = "bundle exec pod lib create --verbose --template-url='file://#{Dir.pwd}/../../' TestPod" | ||
Open3.popen2e({'PATH' => path}, command) { |stdin, stdout_and_stderr, wait_thr| | ||
stdin.write "\n\n\n\n\n\n\n" | ||
stdin.write "Bob Smith\n[email protected]\n\n\n\n\n\n" | ||
stdin.close | ||
print stdout_and_stderr.readlines.join {"\n"} | ||
} | ||
|