change matcher `contain` to `its(:content)`

contain matcher doesn't work on windows and will be deprecated