Commit 2e901677 authored by lauraMon's avatar lauraMon

Add the type method to Entry::Undefined

parent 09315949
......@@ -31,6 +31,10 @@ module Gitlab
false
end
def type
nil
end
def inspect
"#<#{self.class.name}>"
end
......
......@@ -40,4 +40,10 @@ RSpec.describe Gitlab::Config::Entry::Undefined do
expect(entry.specified?).to eq false
end
end
describe '#type' do
it 'returns nil' do
expect(entry.type).to eq nil
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment