How to get spec results as text?


When I run specs I let it error out so I can copy what the code actually does and paste it into the specs as the expected result. Here is an example …

I want to copy the expected text <snippets: invalid variable ... but right-click and ctrl-C do nothing. It is not just a matter of saving some typing. I need to get the exact result which can be weird.

Any ideas?


You can run the specs at the command line using apm test also.


Does it have any way to run it in a background, I mean don’t lose current focus. it always switch me from Iterm to Chrome