Predicting the spontaneity of non-isothermal reactions
For an adiabatic spontaneous process in a closed system (like the one in your example), according to the Clausius Inequality, the change in entropy is greater than zero.  If you have a closed system in which a chemical reaction can occur, if the system is adiabatic, the same criterion applies. 

The criterion that, at constant temperature, if a reaction is spontaneous, $\Delta G^0$ in going from pure reactants to pure products at 1 bar will be negative is just a rule of thumb which, over the years, has confused students to no end.  If you start out with pure reactants and mix them, spontaneous reaction will always occur to some extent.  It's just that, if $\Delta G^0$ is positive, the reaction will tend to proceed  to a lesser extent when equilibrating, and if $\Delta G^0$ is negative, it will tend to proceed to a greater extent when equilibrating.  So, in this sense, every reaction is spontaneous.