lib/ndd/rspec/matchers.rb in ndd-rspec-0.1.0 vs lib/ndd/rspec/matchers.rb in ndd-rspec-0.1.1
- old
+ new
@@ -1,19 +1,8 @@
# 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
+module RSpec::Matchers
+ include Ndd::RSpec::Matchers
end