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