Add tests for disabled blob edit button cases.

Behavior here was undertested, I felt that while doing: https://github.com/gitlabhq/gitlabhq/pull/7886
Align the parameters of a method call if they span more than one line.