Using textmate find and replace in project, changed 'integrate_views' to 'render_views'
Added a config.ru file with the following:
require ::File.expand_path('../config/environment', __FILE__)
run MyApp::Application
Dealing with has_tag? undefined method error in controller specs
In Rspec 2, it is recommended to replace has_tag with has_selector? Unfortunately, this doesn't work with view specs.
I added the gem rspec-tag_matchers. In my spec_helper, I added a config.include(RSpec::TagMatchers) line. Has_tag? is now working
No comments:
Post a Comment