senny / rvm.el

use rvm to manage ruby versions within emacs
214 stars 42 forks source link

Strip whitespace on read and script to run tests #19

Closed rejeep closed 13 years ago

rejeep commented 13 years ago

When I was to select a gemset using rvm-use an error occurred. It happend because the name global included some spacing.

One commit fixes that. The other commit adds a script so that the tests can be run in a terminal like this:

$ ./rvm-tests 
$ ./rvm-tests rvm-unit-tests.el 
$ ./rvm-tests rvm-integration-tests.el

You might want to check out the test rvm-test-activate-corresponding-ruby. It did not pass for me.

senny commented 13 years ago

Thanks a lot! the rvm-tests script you wrote is awesome!

I had to fix a broken test, but now everything seems to run smooth.