summaryrefslogtreecommitdiff
path: root/spec/support/helpers/select2_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/select2_helper.rb')
-rw-r--r--spec/support/helpers/select2_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/select2_helper.rb b/spec/support/helpers/select2_helper.rb
index 90618ba5b19..f54b06daafa 100644
--- a/spec/support/helpers/select2_helper.rb
+++ b/spec/support/helpers/select2_helper.rb
@@ -12,7 +12,7 @@
module Select2Helper
def select2(value, options = {})
- raise ArgumentError, 'options must be a Hash' unless options.is_a?(Hash)
+ raise ArgumentError, _('options must be a Hash') unless options.is_a?(Hash)
selector = options.fetch(:from)