diff --git a/bin/robot b/bin/robot index 42b25a827..6f854cc06 100755 --- a/bin/robot +++ b/bin/robot @@ -3,11 +3,6 @@ # Update repo # -# default locations -export LANGUAGE=en_US.UTF-8 -export LANG=en_US.UTF-8 -export LC_ALL=en_US.UTF-8 - # cd to Rails root directory cd "$(dirname "$0")"; cd .. diff --git a/bin/robot-audit b/bin/robot-audit index ccf318ba4..e71fc57f8 100755 --- a/bin/robot-audit +++ b/bin/robot-audit @@ -6,6 +6,12 @@ # fail later set -o pipefail +# default locations +export LANGUAGE=en_US.UTF-8 +export LANG=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export RAILS_ENV=test + # cp config/secrets-example.yml config/secrets.yml # create manually config/database.yml diff --git a/spec/support/general.rb b/spec/support/general.rb index 3c646e2e4..99de8a409 100644 --- a/spec/support/general.rb +++ b/spec/support/general.rb @@ -14,7 +14,6 @@ module General end end - RSpec.configure do |c| c.include General end