(maint) Use RSpec 2.9 expectations

We have RSpec 2.11 listed in the project Gemfile but CI is still using
2.9. This commit switches the expectation syntax to the older version
for compatibility.
Merge branch 'maint-rspec_29_compat' into 1.7.x
(#20301) Handle different error in ruby 1.9

The NumberOfLogicalProcessor property of the Win32_Processor WMI class
does not exist in the base win2003 install. Previously, we were trying
to access the property, and then catching the resulting error if the
property did not exist.

In ruby 1.8, it would raise a RuntimeError, but in ruby 1.9, it raises a
StandardError, causing the fact to blow up on ruby 1.9.

This commit checks to see if the process object responds to that method,
and only then does it try to call it.
Merge pull request #433 from joshcooper/ticket/20301/win2003-ruby19

(#20301) Handle different error in ruby 1.9
Merge remote-tracking branch 'upstream/1.7.x' into stable

* upstream/1.7.x:
  (#20301) Handle different error in ruby 1.9
  (maint) Use RSpec 2.9 expectations