Skip to content

Commit

Permalink
renaming instances of compose.yml to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmamike committed Apr 9, 2015
1 parent 84b4301 commit 9f707f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/routes/documents.rb
Expand Up @@ -36,9 +36,9 @@ class Documents < Base

def gist_options(content)
{}.tap do |gist_options|
gist_options[:description] = 'compose.yml created at Lorry.io'
gist_options[:description] = 'docker-compose.yml created at Lorry.io'
gist_options[:public] = 'false'
gist_options[:file_name] = 'compose.yml'
gist_options[:file_name] = 'docker-compose.yml'
gist_options[:file_content] = content
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/routes/documents_spec.rb
Expand Up @@ -15,9 +15,9 @@
let(:request_body) { { document: "this is a sample yaml file." } }
let(:gist_options) {
{}.tap do |gist_options|
gist_options[:description] = 'compose.yml created at Lorry.io'
gist_options[:description] = 'docker-compose.yml created at Lorry.io'
gist_options[:public] = 'false'
gist_options[:file_name] = 'compose.yml'
gist_options[:file_name] = 'docker-compose.yml'
gist_options[:file_content] = request_body[:document]
end
}
Expand Down

0 comments on commit 9f707f4

Please sign in to comment.