Fix RSpec dev dependency in gemspec

Tests use syntax that is removed or deprecated in RSpec 3.