Permalink
Browse files

Remove extraneous file creation in spec.

  • Loading branch information...
1 parent cf33ae1 commit b0c71dc2e3c57219e99d911765931e997f4fe31a @xaviershay xaviershay committed Oct 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 spec/rake_task_spec.rb
View
3 spec/rake_task_spec.rb
@@ -33,10 +33,9 @@ def violations
end
it 'can be configured using a .cane file' do
- fn = make_file("90").strip
+ conf = "--gte 90,99"
task = Cane::RakeTask.new(:canefile_quality) do |cane|
- conf = "--gte #{fn},99"
cane.canefile = make_file(conf)
end

0 comments on commit b0c71dc

Please sign in to comment.