spec/omniauth/strategies/chef_spec.rb in omniauth-chef-0.2.0 vs spec/omniauth/strategies/chef_spec.rb in omniauth-chef-0.4.1
- old
+ new
@@ -75,9 +75,18 @@
expect(subject.options.key_path).to eq(default_key_path)
end
end
end
+ describe 'option :key_data' do
+ context 'default: nil' do
+ it do
+ expect(subject.options.key_data).to eq(nil)
+ end
+ end
+ end
+
+
describe 'option :uid' do
context ':name' do
it { expect(subject.options.uid).to eq(:name) }
end
end