Fix some more code style issues with block params being in the wrong place

This commit is contained in:
Nicolas McCurdy
2014-01-20 23:26:29 -05:00
parent 95943deb82
commit c2cb6081e1

View File

@@ -18,8 +18,8 @@ describe 'homesick' do
somewhere = create_construct somewhere = create_construct
local_repo = somewhere.directory('some_repo') local_repo = somewhere.directory('some_repo')
local_repo.file('.homesickrc') do |file| local_repo.file('.homesickrc') do |file|
file << "File.open(Dir.pwd + '/testing', 'w') do file << "File.open(Dir.pwd + '/testing', 'w') do |f|
|f| f.print 'testing' f.print 'testing'
end" end"
end end
@@ -126,8 +126,8 @@ describe 'homesick' do
it 'executes the .homesickrc' do it 'executes the .homesickrc' do
castle.file('.homesickrc') do |file| castle.file('.homesickrc') do |file|
file << "File.open(Dir.pwd + '/testing', 'w') do file << "File.open(Dir.pwd + '/testing', 'w') do |f|
|f| f.print 'testing' f.print 'testing'
end" end"
end end
@@ -146,8 +146,8 @@ describe 'homesick' do
it 'does not execute the .homesickrc' do it 'does not execute the .homesickrc' do
castle.file('.homesickrc') do |file| castle.file('.homesickrc') do |file|
file << "File.open(Dir.pwd + '/testing', 'w') do file << "File.open(Dir.pwd + '/testing', 'w') do |f|
|f| f.print 'testing' f.print 'testing'
end" end"
end end