In the future all this sort of logic around displaying the button should be in a helper with appropriate specs.