Skip to content

Commit d50fde7

Browse files
committed
Update the Coveralls for Config to handle the new user_agent default
1 parent a6869a6 commit d50fde7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/Config_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
it "retrieves config information from environment variables" do
1717
ENV.store("SL_USERNAME", "PoohBear")
1818
ENV.store("SL_API_KEY", "DEADBEEFBADF00D")
19+
ENV.store("SL_API_USER_AGENT", "de trackerz")
1920

20-
expect(SoftLayer::Config.environment_settings).to eq({ :username => "PoohBear", :api_key => "DEADBEEFBADF00D" })
21+
expect(SoftLayer::Config.environment_settings).to eq({ :user_agent => "de trackerz", :username => "PoohBear", :api_key => "DEADBEEFBADF00D" })
2122
end
2223

2324
it "retrieves the properties from a custom file" do

0 commit comments

Comments
 (0)