spec/config_spec.rb in lambom-0.3.5 vs spec/config_spec.rb in lambom-0.4.2
- old
+ new
@@ -12,15 +12,21 @@
expect(config).to be_an_instance_of(Lambom::Config)
end
it "must have test file values" do
expect(config.server).to eq("1ca71cd6-08c4-4855-9381-2f41aeffe59c")
expect(config.environment).to eq("development")
- expect(config.private_key_file).to eq("/etc/riyic/private.pem")
+ expect(config.private_key_file).to eq("spec/private_key.pem")
expect(config.loglevel).to eq("debug")
+ expect(config.berksfile).to eq("spec/test_berksfile")
+ expect(config.json_file).to eq("spec/test_json_file")
+ expect(config.cached).to eq(false)
+ expect(config.api_url).to eq("https://www.riyic.com/api/v1")
+ expect(config.download_tarball).to eq("https://www.riyic.com/cookbooks.tar.gz")
+
end
it "must have merged values" do
- merge_key_file = 'test.pem'
+ merge_key_file = 'spec/test_private_key.pem'
merge_server = "1ca71cd6-08c4-4855-9381-111111111111"
merge_env = 'test'
merge_loglevel = 'info'
options = {