test should be configuring git info
This commit is contained in:
parent
3dcad123f5
commit
95d095c97d
|
@ -6,7 +6,9 @@ describe RemoteTheme do
|
|||
dir = Dir.tmpdir
|
||||
repo_dir = "#{dir}/#{SecureRandom.hex}"
|
||||
`mkdir #{repo_dir}`
|
||||
`cd #{repo_dir} && git init .`
|
||||
`cd #{repo_dir} && git init . `
|
||||
`cd #{repo_dir} && git config user.email 'someone@cool.com'`
|
||||
`cd #{repo_dir} && git config user.name 'The Cool One'`
|
||||
`cd #{repo_dir} && mkdir desktop mobile common`
|
||||
files.each do |name, data|
|
||||
File.write("#{repo_dir}/#{name}", data)
|
||||
|
|
Loading…
Reference in New Issue