Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

words

  • Loading branch information...
commit c311d5368a1bdf382e90d1756489a2dc3051f611 1 parent b3643ac
@dchelimsky authored
Showing with 25 additions and 2 deletions.
  1. +1 −1  History.rdoc
  2. +24 −1 Upgrade.rdoc
View
2  History.rdoc
@@ -1,4 +1,4 @@
-=== Version 1.2.3 (in git)
+=== Version 1.2.3
* deprecations
View
25 Upgrade.rdoc
@@ -1,4 +1,4 @@
-= Upgrade to master in git
+= Upgrade to rspec-1.2.3
== What's Changed
@@ -7,6 +7,29 @@
Use Spec::Matchers.define instead of Spec::Matchers.create (which is now
deprecated).
+=== Explicit Predicate Matchers are deprecated
+
+With the addition of the new Matcher DSL the old, confusing, and
+almost-nobody-uses-it explicit predicate matcher functionality's days are now
+numbered.
+
+If you're not familiar with this feature, don't worry about it. If you have anything
+that looks like this:
+
+ predicate_matchers[:swim] = :can_swim?
+
+Or this
+
+ config.predicate_matchers[:swim] = :can_swim?
+
+Change it to this:
+
+ Spec::Matchers.define :swim do
+ match do |potential_swimmer|
+ potential_swimmer.can_swim?
+ end
+ end
+
== Custom Formatters
If you have an custom formatter, the <tt>add_example_group</tt> method has
Please sign in to comment.
Something went wrong with that request. Please try again.