lib/remarkable_mongoid.rb in remarkable_mongoid-0.1.1 vs lib/remarkable_mongoid.rb in remarkable_mongoid-0.1.2

- old
+ new

@@ -4,5 +4,15 @@ end require 'remarkable/active_model' require 'remarkable_mongoid/associations' require 'remarkable_mongoid/validate_uniqueness_of' + +if defined?(RSpec) # RSpec 2.x + RSpec.configure do |config| + config.include(Remarkable::Mongoid::Matchers) + end +elsif defined?(Spec) # RSpec 1.x + Spec::Runner.configure do |config| + config.include(Remarkable::Mongoid::Matchers) + end +end \ No newline at end of file