spec/henkei_spec.rb in henkei-1.17.2 vs spec/henkei_spec.rb in henkei-1.17.3

- old
+ new

@@ -102,16 +102,16 @@ end end describe '.java' do specify 'with no specified JAVA_HOME' do - expect( Henkei.send(:java) ).to eql 'java' + expect( Henkei.send(:java_path) ).to eql 'java' end specify 'with a specified JAVA_HOME' do ENV['JAVA_HOME'] = '/path/to/java/home' - expect( Henkei.send(:java) ).to eql '/path/to/java/home/bin/java' + expect( Henkei.send(:java_path) ).to eql '/path/to/java/home/bin/java' end end context 'initialized with a given path' do let(:henkei) { Henkei.new 'spec/samples/sample.pages' }