I'm having trouble getting the specs to run for a plugin where I want to fix a bug. (I've actually already found and fixed the bug, but I don't want to submit a fix without a test!) When I started the specs weren't running, but it may be that I'm using Rails 2.3.3 and the plugin has been tested on 2.1 and earlier. I went through writing a spec for a very simple plugin to get some perspective on how things fit together, and I've resolved some issues, but still see this error:
$ spec vendor/plugins/openlaszlo_plugin/spec/swfobject_view_helper_spec.rb FFFFFFF 1) NoMethodError in 'ActionView::Helpers::SwfObjectHelper swfobject_tag should call swfobject.embedSWF' undefined method `assert_select' for #<ActiveSupport::TestCase::Subclass_1::Subclass_1:0x2281278> ./vendor/plugins/openlaszlo_plugin/spec/swfobject_view_helper_spec.rb:17: line 17 is: html.should have_tag('script', /swfobject.embedSWF/) Can anyone give me a hint? Thanks, Sarah -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users