Skip to content

Commit

Permalink
Remove extraneous file creation in spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviershay committed Oct 21, 2012
1 parent cf33ae1 commit b0c71dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/rake_task_spec.rb
Expand Up @@ -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

Expand Down

0 comments on commit b0c71dc

Please sign in to comment.