fix the failing specs due to permalink named slug now.

Fixing the 2-2-stable branch here.