Fix some more code style issues with block params being in the wrong place
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user