Sha256: bb878e99cd9262d5e9df5bbfaaafeffc05948786a55b84f53517a4284cd6bcd0

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

module Kernel
  
  # Translate the <b>should</b> and <b>should_not</b> method
  #
  def register_expectations_keywords
    natural_language.expectation_keywords.each do |key, values|
      values.collect { |value| alias_method value, key }
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-i18n-1.2.1 lib/spec-i18n/expectations/extensions/kernel.rb
rspec-i18n-1.2.0 lib/spec-i18n/expectations/extensions/kernel.rb