# File specs/keys_spec.rb, line 35 def create_key_if_necessary(client, key_name) the_key = client.key(key_name) unless the_key client.create_key() end end