search for: tagexpect

Displaying 2 results from an estimated 2 matches for "tagexpect".

2006 Oct 04
1
String.should_hav_tag
..."<html><body/></html>".should_have_tag :tag => "body" But these fail with 0.6.4. The documentation still suggests this should work. I was able to solve the problem by adding the following to my spec files: class String include Spec::Expectations::TagExpectations end Micah Martin 8th Light, Inc. www.8thlight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20061004/833c050d/attachment-0001.html
2007 Jan 03
0
0.7.5 Doesn''t Let My Tests Run
...ms/1.8/gems/rspec-0.7.5/bin/spec" "spec/ models/cart_spec.rb" /Users/minime/rails/voodoo_work/config/../vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:349:in `const_missing'': uninitialized constant Spec::RailsPlugin::ResponseBody::TagExpectations (NameError) from /Users/minime/rails/voodoo_work/vendor/plugins/vendor/ plugins/rspec/lib/spec/rails_plugin/response_body.rb:4 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require'' from /opt/local/lib/ruby/site_ru...