Fix up rspec deprecation warnings.
This commit is contained in:
@@ -13,7 +13,7 @@ describe Facter::Util::Fact do
|
||||
context 'returns libjvm path' do
|
||||
context 'on Linux' do
|
||||
it do
|
||||
Facter.value(:java_libjvm_path).should == "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server"
|
||||
expect(Facter.value(:java_libjvm_path)).to eql "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user