Sha256: 0900cb9f1be8b13d3bf5de10c10a357707233213793285a0bd576ac0da144405

Contents?: true

Size: 854 Bytes

Versions: 21

Compression:

Stored size: 854 Bytes

Contents

Feature: Handling different locales
  In order to work in a variety of environments
  As a developer
  I want Reek to work properly in any locale

  Scenario: Running Reek in an UTF-8 locale
    Given I set the environment variable "LANG" to "en_US.utf8"
    And a file "konnichiwa.rb" with:
    """
    puts 'こんにちは世界'
    """
    When I run reek -V konnichiwa.rb
    Then it succeeds
    And it reports no errors
    And it reports:
      """
      konnichiwa.rb -- 0 warnings
      """

  Scenario: Running Reek in the POSIX locale
    Given I set the environment variable "LANG" to "POSIX"
    And a file "konnichiwa.rb" with:
    """
    puts 'こんにちは世界'
    """
    When I run reek -V konnichiwa.rb
    Then it succeeds
    And it reports no errors
    And it reports:
      """
      konnichiwa.rb -- 0 warnings
      """

Version data entries

21 entries across 19 versions & 2 rubygems

Version Path
reek-6.0.3 features/locales.feature
reek-6.0.2 features/locales.feature
reek-6.0.1 features/locales.feature
reek-6.0.0 features/locales.feature
reek-5.6.0 features/locales.feature
reek-5.5.0 features/locales.feature
reek-5.4.1 features/locales.feature
reek-5.4.0 features/locales.feature
reek-5.3.2 features/locales.feature
reek-5.3.1 features/locales.feature
reek-5.3.0 features/locales.feature
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/locales.feature
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/locales.feature
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/locales.feature
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/locales.feature
reek-5.2.0 features/locales.feature
reek-5.1.0 features/locales.feature
reek-5.0.2 features/locales.feature
reek-5.0.1 features/locales.feature
reek-5.0.0 features/locales.feature