From 8cd4ab1ad2b48cf92b45cd980279f7d5b836892f Mon Sep 17 00:00:00 2001 From: Thom May Date: Wed, 8 Jun 2016 11:25:56 +0100 Subject: Chefstyle and modernise Signed-off-by: Thom May --- spec/mixlib/authentication/digester_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/mixlib/authentication/digester_spec.rb') diff --git a/spec/mixlib/authentication/digester_spec.rb b/spec/mixlib/authentication/digester_spec.rb index 747227d..fd3eb41 100644 --- a/spec/mixlib/authentication/digester_spec.rb +++ b/spec/mixlib/authentication/digester_spec.rb @@ -1,21 +1,21 @@ -require 'mixlib/authentication/digester' +require "mixlib/authentication/digester" describe Mixlib::Authentication::Digester do - context 'backcompat' do + context "backcompat" do # The digester API should really have been private, # however oc-chef-pedant uses it. - let(:test_string) { 'hello' } - let(:test_string_checksum) { 'qvTGHdzF6KLavt4PO0gs2a6pQ00=' } + let(:test_string) { "hello" } + let(:test_string_checksum) { "qvTGHdzF6KLavt4PO0gs2a6pQ00=" } describe '#hash_file' do - it 'should default to use SHA1' do + it "should default to use SHA1" do expect(described_class.hash_file(StringIO.new(test_string))).to( eq(test_string_checksum)) end end describe '#hash_string' do - it 'should default to use SHA1' do + it "should default to use SHA1" do expect(described_class.hash_string(test_string)).to( eq(test_string_checksum)) end -- cgit v1.2.1