Update error message assertion for ruby 2.1