summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pkey.example3
-rw-r--r--spec/factories.rb8
2 files changed, 7 insertions, 4 deletions
diff --git a/db/pkey.example b/db/pkey.example
deleted file mode 100644
index ae045772430..00000000000
--- a/db/pkey.example
+++ /dev/null
@@ -1,3 +0,0 @@
-AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
-596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
-soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=
diff --git a/spec/factories.rb b/spec/factories.rb
index 82fd0db2ea4..929f9295947 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -75,7 +75,13 @@ FactoryGirl.define do
factory :key do
title
- key { File.read(File.join(Rails.root, "db", "pkey.example")) }
+ key do
+ """
+ AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
+ 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
+ soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=
+ """
+ end
factory :deploy_key do
project