spec/unit/providers/aws/credentials_spec.rb in chef-provisioning-fog-0.18.0 vs spec/unit/providers/aws/credentials_spec.rb in chef-provisioning-fog-0.19.0

- old
+ new

@@ -1,10 +1,10 @@ require 'chef/provisioning/fog_driver/providers/aws/credentials' describe Chef::Provisioning::FogDriver::Providers::AWS::Credentials do let(:credentials) { Chef::Provisioning::FogDriver::Providers::AWS::Credentials.new } - + describe "#load_inis" do let(:aws_credentials_ini_file) { File.join(File.expand_path('../../../../support', __FILE__), 'aws/ini-file.ini') } before do credentials.load_inis(aws_credentials_ini_file) @@ -13,10 +13,10 @@ it "should load a default profile" do expect(credentials['default']).to include(:aws_access_key_id) end it "should load the correct values" do - expect(credentials['default'][:aws_access_key_id]).to eq "12345" + expect(credentials['default'][:aws_access_key_id]).to eq 12345 expect(credentials['default'][:aws_secret_access_key]).to eq "abcde" expect(credentials['default'][:region]).to eq "us-east-1" expect(credentials['default'][:aws_session_token]).to eq "mysecret" end