rspec/rspec-rails — pull request #717 by kjg (2013-03-19 19:00:49+00:00)
Title: Don't generate views if there is no template engine

rails-api diables view generation by setting template_engine to nil, but rspec still generates view specs.

This patch will prevent rspec from generating view specs when no views are being generated.