# File lib/minitest/capybara/helpers.rb, line 20 def self.count_message(options) if options[:count] " #{options[:count]} #{declension('time', 'times', options[:count])}" elsif options[:between] " between #{options[:between].first} and #{options[:between].last} times" elsif options[:maximum] " at most #{options[:maximum]} #{declension('time', 'times', options[:maximum])}" elsif options[:minimum] " at least #{options[:minimum]} #{declension('time', 'times', options[:minimum])}" else "" end end