Displaying 2 results from an estimated 2 matches for "does_not_exist".
2007 Sep 25
12
Problems with expect_render
...template.expect_render.
I have Mocha enabled with:
> config.mock_with :mocha
in spec_helper. And then I have a view spec which looks like this:
> it "should explode messily because I have made this partial name
> up" do
> template.expect_render(:partial => ''does_not_exist'', :object =>
> "hello")
> render "/a/real/template"
> end
If I run this spec, it passes, which it really shouldn''t. If I
comment out the config.mock_with :mocha line and re-run the spec, it
fails with:
> Mock ''expect_render_moc...
2003 May 22
2
new DTMF tones
I just loaded from CVS this afternoon and in the debug output I see...
DEBUG[76820]: File chan_zap.c, Line 3254 (zt_read): DTMF digit: m on Zap/16-1
DEBUG[76820]: File chan_zap.c, Line 3254 (zt_read): DTMF digit: u on Zap/16-1
I knew about DTMF 0-9, A-D, *, and #, but I didn't know about m and u :-).