I generated a bare engine via the executable with the rspec option.
And I added one controller spec where I am asserting response.should have_selector("h1", :content => "hello")
But it blows up. Do I need to require anything seperately?
Failures:
1) MeroCms::PagesController GET 'pages' should be successful
Failure/Error: response.should have_selector("h1", :content => "hello")
undefined method `has_selector?' for #<ActionController::TestResponse:0x10375afb8>
# ./spec/controllers/pages_controller_spec.rb:11
# /Users/millisami/.rvm/gems/ree-1.8.7-2010.02/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `inject'