Update chefspec to 4.0.0 so tests can run again

Some assertions in here were using rspec-expectations syntax that blew up under rspec-expectations 2.99, so might as well go to 3
Place the . on the previous line, together with the method call receiver.