Fixed access to attributes in RSpec for jRuby