spec/lock_spec.rb in massive_sitemap-2.0.0.rc4 vs spec/lock_spec.rb in massive_sitemap-2.0.0.rc5
- old
+ new
@@ -33,10 +33,10 @@
end.to raise_error
::File.exists?(lock_file).should be_false
end
it 'fails if lockfile exists' do
- ::File.open(lock_file, 'w',) {}
+ ::File.open(lock_file, 'w') {}
expect do
MassiveSitemap.lock! do
puts "Hi"
end
end.to raise_error