Skip to content

Commit

Permalink
we should not care about output of resolve!
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Mar 2, 2014
1 parent 3fd77d8 commit 3722a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/image_optim/bin_resolver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def with_env(key, value)
FSPath.should_not_receive(:temp_dir)

5.times do
resolver.resolve!(:ls).should be_true
resolver.resolve!(:ls)
end
resolver.env_path.should == "#{ENV['PATH']}:#{ImageOptim::BinResolver::VENDOR_PATH}"
end
Expand All @@ -41,7 +41,7 @@ def with_env(key, value)
end

5.times do
resolver.resolve!(:image_optim).should be_true
resolver.resolve!(:image_optim)
end
resolver.env_path.should == "#{tmpdir.to_str}:#{ENV['PATH']}:#{ImageOptim::BinResolver::VENDOR_PATH}"

Expand Down

0 comments on commit 3722a6e

Please sign in to comment.