File: setup.rb

package info (click to toggle)
ruby-dataobjects 0.10.14-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 396 kB
  • ctags: 193
  • sloc: ruby: 2,921; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (4)
1
2
3
4
5
RSpec::Matchers.define :be_array_case_insensitively_equal_to do |attribute|
  match do |model|
    model.map { |f| f.downcase } == attribute
  end
end