Rspec shared to test a default value for attribute is not nil