bin/cs-webautomator in cs-webautomator-0.1.5 vs bin/cs-webautomator in cs-webautomator-0.1.6

- old
+ new

@@ -17,11 +17,11 @@ include Thor::Actions desc 'feature [RESOURCE_NAME]', 'Generates a feature' option :lang, banner: 'any of the gherkin supported languages', - default: :pt + default: :en def feature(name) I18n.config.default_locale = options[:lang] in_root_project_folder? create_feature_file(name) @@ -30,22 +30,22 @@ end desc 'step [RESOURCE_NAME]', 'Generates a step' option :lang, banner: 'any of the gherkin supported languages', - default: :pt + default: :en def step(name) I18n.config.default_locale = options[:lang] in_root_project_folder? create_steps_file name end desc 'page [RESOURCE_NAME]', 'Generates pages' option :lang, banner: 'any of the gherkin supported languages', - default: :pt + default: :en def page(name) I18n.config.default_locale = options[:lang] in_root_project_folder? create_page_file name end @@ -78,10 +78,10 @@ desc 'new PROJECT_NAME', 'Generates the structure of a new project that uses '\ 'Capybara, SitePrism, Selenium and Cucumber' option :lang, banner: 'any of the gherkin supported languages', - default: :pt + default: :en def new(name) I18n.config.default_locale = options[:lang] # Thor will be responsible to look for identical # files and possibles conflicts directory File.join(File.dirname(__FILE__),