update gems, convert to rspec 3 syntax