Fix specs for Ruby 2.0.0

On Ruby 2.0.0, NameError contains only the last part of constant name (e.g. "Plugins" in this case).