Support RSpec 3.x. (2.x is supported too.)
Fix bugs related with RSpec 3.x.