Skip to content

Commit

Permalink
remove group of slow specs ‘stop optimizing’, part of #60
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Oct 13, 2014
1 parent f6793a2 commit f757e6b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions spec/image_optim_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,21 +138,6 @@ def expect_tempfile(expected)
end
end
end

describe 'stop optimizing' do
test_images.each do |original|
it "stops optimizing #{original}" do
copy = temp_copy(original)

tries = 0
10.times do
tries += 1
break unless ImageOptim.optimize_image!(copy)
end
expect(tries).to be_in_range(2...3)
end
end
end
end

describe 'unsupported' do
Expand Down

0 comments on commit f757e6b

Please sign in to comment.