Not using requirejs-rails throws an exception when running test suite

When you run the test suite and you aren't using the requirejs-rails gem, it throws a ruby error and you cannot get to the specs. The code to check if requirejs is in the config, instead just throws a method error. Fix is to add a responds_to?