switch to new rspec syntax

Switching to RSpec 3.x syntax.