Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarbarev committed May 10, 2016
1 parent 5b082c4 commit 65fd013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/generamba/code_generation/content_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def self.create_file(file, code_module, template)

def self.file_name_template(file)
template_default_text = "{{ prefix }}{{ module_info.name }}{{ module_info.file_basename }}"
template_text = file[TEMPLATE_FLIE_FILENAME_KEY] || template_default_text
template_text = file[TEMPLATE_FILE_FILENAME_KEY] || template_default_text
return Liquid::Template.parse(template_text)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/generamba/constants/rambaspec_constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Generamba
TEMPLATE_TEST_FILES_KEY = 'test_files'
TEMPLATE_FILE_NAME_KEY = 'name'
TEMPLATE_FILE_PATH_KEY = 'path'
TEMPLATE_FLIE_FILENAME_KEY = 'file_name'
TEMPLATE_FILE_FILENAME_KEY = 'file_name'

TEMPLATE_DEPENDENCIES_KEY = 'dependencies'
end

0 comments on commit 65fd013

Please sign in to comment.