Skip to content

Commit

Permalink
fix mime-types dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire McQuin committed Oct 29, 2013
1 parent 8238b9a commit bf08d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ohai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Gem::Specification.new do |s|
s.email = "adam@opscode.com"
s.homepage = "http://wiki.opscode.com/display/chef/Ohai"

s.add_dependency "mime-types", "~> 1.16"

s.add_dependency "yajl-ruby"
s.add_dependency "mixlib-cli"
s.add_dependency "mixlib-config", "~> 2.0"
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@
end

it "should raise Ohai::Exceptions::DependencyCycle" do
@runner.stub(:fetch_providers).with(["thing"]).and_return([@plugin1])
@runner.stub(:fetch_providers).with(["other"]).and_return([@plugin2])
@runner.stub(:fetch_plugins).with(["thing"]).and_return([@plugin1])
@runner.stub(:fetch_plugins).with(["other"]).and_return([@plugin2])
expect { @runner.run_plugin(@plugin1) }.to raise_error(Ohai::Exceptions::DependencyCycle)
end
end
Expand Down

0 comments on commit bf08d6a

Please sign in to comment.