search for: viewspeccontrol

Displaying 4 results from an estimated 4 matches for "viewspeccontrol".

2007 Apr 11
13
View Specs Fail with "protected method render"
...d my model/controller specs all pass and work well. I can''t seem to get views to work though - 100% of the specs fail with: NoMethodError in ''/users/show.rhtml should render attributes in <p>'' protected method `render'' called for #<Spec::Rails::Runner::ViewSpecController:0x3197dfc> /Users/jeff/Sites/niche/trunk/vendor/plugins/rspec_on_rails/lib/spec/rails/runner/context/view.rb:102:in `render'' ./spec/views/users/show_rhtml_spec.rb:13: Note the "protected method `render'' called for #<Spec::Rails::Runner::ViewSpecController:0x3197dfc&...
2006 Dec 12
3
rpec 0.7.4/ rails 1.2rc1 troubles
...y new spec tests work, but my old Test::Unit test don''t produce any output. The only clue I have anything is happening at all are these messages in log/test.log: Spec::Rails::HelperEvalContextController: missing default helper path spec/rails/helper_eval_context_helper Spec::Rails::ViewSpecController: missing default helper path spec/ rails/view_spec_helper What am I missing, and I how do I solve this?
2007 Mar 01
1
Problems with RC1 & Rails Controllers
...ort of error one would get with a bad fixture file. My only problem is that I can run rake spec:models without a problem. The test log shows this: Spec::Rails::Runner::HelperEvalContextController: missing default helper path spec/rails/runner/helper_eval_context_helper Spec::Rails::Runner::ViewSpecController: missing default helper path spec/rails/runner/view_spec_helper Just to make it clear, I''ve also run script/generate rspec I''m running OS X.4.8, ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin8.8.0] edge rails (revision 6265) and the RC1 gem, as stated before. Let m...
2007 Feb 26
0
Specifying Ajax hyperlinks
...s selector doesn''t work (note extra trailing quote in attribute): %q{a[href=''#''][onclick^="new Ajax.Updater(''"]} But that''s by the by. Another (known) issue is the inability to put the controller name in spec, because specs run in ViewSpecController, Either way, it''d be nice to have an easier way to spec link_to_remote etc, eg (I''m not using the 0.8 RC yet...) response.should_have_link_to_remote ".moo #quack >", :url => "/ product_info/rti", :update => "blah" or something a...