fix #27

fix issue #27 to support rspec v3.0.0 and higher