Sha256: d478103a7613c54460385a866b7730eb1ae7ddf9b23a9a87afb475c12387b97d

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

# encoding: utf-8
require_relative 'matchers/be_reverse_sorted_by'
require_relative 'matchers/be_sorted_by'

module Ndd
  module RSpec
    module Matchers

      def be_reverse_sorted_by(attribute)
        BeReverseSortedBy.new(attribute)
      end

      def be_sorted_by(attribute)
        BeSortedBy.new(attribute)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ndd-rspec-0.1.0 lib/ndd/rspec/matchers.rb