similar to: Testing render :text without has_text

Displaying 19 results from an estimated 19 matches similar to: "Testing render :text without has_text"

2006 Aug 12
4
form problem on deployment. Not sure how to debug this.
I wish I could be more clean in the subject but I honestly don''t know what to point at for the problem. I am trying to deploy a rails app to my external host (dreamhost). It works great in development on my machine but when It gets into production on dreamhost Data seems to be missing when I try and submit the form. Here''s what it looks like when it works... Processing
2007 Feb 21
1
Rendering all the elements when calling Array#to_xml
When I call to_xml on an array, I want it to get the XML for all the elements in it. I''ve defined to_xml in my class. >> r.to_xml => "<video><id>1</id><views>2</views></video>" >> a = [r] => [#<StatisticsReport:0x3259f38 @video_id=1, @views=2>] >> a.to_xml => "<?xml version=\"1.0\"
2008 Apr 23
0
self referential (n-n relationship) belongs many controller
Hi all, I ve some troubles in my small acpplication (only 2 tables). I want to follow up tasks but these tasks are linked to others tasks. So I ve tried to do store the nn relationship in other table called links 1st table : tasks columns : id | infos neutral... (as title, description etc ...) ----------------------------------------------------------------------------------- model : class
2010 Sep 30
5
response.should have_text leads to undefined method `has_text?'
One of my controllers directly renders some JSON output that I would like to test with RSpec. For that I use ''response.should have_text("foobar")'' in my spec file, but that leads to a Failure/Error: response.should have_text("enim") undefined method `has_text?'' for #<ActionController::TestResponse: 0xb6736944> I read here somewhere that webrat
2006 Aug 12
6
params not getting POSTed
I have a situation where no params are being sent when the form is submitted. After the rendering this is the html that I get... <form action="/stats/new" method="post"> Height: <input id="stat_height_ft" name="stat[height_ft]" size="5" type="text" />ft </p> Weight: <input id="stat_weight_lbs"
2009 Mar 15
0
rspec-rails 1.2.0 Released
rspec-rails version 1.2.0 has been released! * <http://rspec.info/> * <http://wiki.github.com/dchelimsky/rspec> * <http://wiki.github.com/dchelimsky/rspec/rails> * <http://wiki.github.com/dchelimsky/rspec/upgrades> Behaviour Driven Development for Ruby on Rails. Changes: ### Version 1.2.0 IMPORTANT INFORMATION: Due to changes in Rails-2.3, there are some changes in
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.
2011 Dec 16
2
Which device auto-registered an extension?
Hi all, In sip.conf: [general] regcontext = autoreg [devabc] regexten = 543 creates "exten=> 543,1,Noop(devabc)" in context autoreg when devabc registers. But I can't use "exten=> _5XX,2,Dial(SIP/${EXTEN})" in the dialplan, because there's no device SIP/543. Now I know I can add a line like "exten=> 543,2,Dial(SIP/devabc)" for each and
2006 Mar 23
15
Is Rails Appropriate for our Project?
I realize this subject is redundant for this community, but I''m hoping the Rails community can provide me with some additional ammunition to help push a rails project I''m pitching over the proverbial tipping point at my company. The Situation: I''m the lead architect at a large bay area retailer. My team and I are currently suffering through the process of paying
2005 Mar 22
0
D() option on Dial
Using the D() option on a Dial, I get only the first digit of my string. I'm running 1.0.5. I looked at the change log and didn't see anything that referenced this. Anybody know what I'm doing wrong? exten => s,3,Dial(IAX2/9999@voipjet/13115552368,60,D(1234567890123456789)) Thanks in advance (adTHANKSvance) </edg>
2007 Jun 12
0
[PATCH][libxenapi] Fix segmentaion fault in libxenapi
When calling xen_vbd_set_mode(), libxenapi attempted to convert the enum mode parameter to a string twice - resulting in segfault. Removed first conversion since conversion is taking place in marshalling/demarshalling layer. Fixed similar double enum conversion in other places as well. Regards, Jim _______________________________________________ Xen-devel mailing list
2012 May 25
0
[LLVMdev] generating LLVM code that meets the C ABI
I want to generate LLVM functions that meet the C ABI for function calls/returns (preferably on multiple platforms but x86_64 would be OK for now). I know that LLVM doesn't handle this completely automatically (e.g. the type {i32,i32} should be passed as a single i64 on x86_64 linux). Is there any library that automates the generation of function declarations meeting the ABI and emit
2007 Nov 22
0
5 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field.c
libswfdec/swfdec_as_interpret.c | 23 ++++++++++++----------- libswfdec/swfdec_bits.c | 13 +++---------- libswfdec/swfdec_bits.h | 3 +-- libswfdec/swfdec_debugger.c | 2 +- libswfdec/swfdec_movie.c | 2 +- libswfdec/swfdec_script.c | 2 +- libswfdec/swfdec_sprite_movie.c | 4 ++-- libswfdec/swfdec_tag.c | 4 ++--
2016 Mar 28
0
RFC: atomic operations on SI+
On Fri, Mar 25, 2016 at 02:22:11PM -0400, Jan Vesely wrote: > Hi Tom, Matt, > > I'm working on a project that needs few coherent atomic operations (HSA > mode: load, store, compare-and-swap) for std::atomic_uint in HCC. > > the attached patch implements atomic compare and swap for SI+ > (untested). I tried to stay within what was available, but there are > few issues
2016 Mar 25
2
RFC: atomic operations on SI+
Hi Tom, Matt, I'm working on a project that needs few coherent atomic operations (HSA mode: load, store, compare-and-swap) for std::atomic_uint in HCC. the attached patch implements atomic compare and swap for SI+ (untested). I tried to stay within what was available, but there are few issues that I was unsure how to address: 1.) it currently uses v2i32 for both input and output. This
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
libswfdec-gtk/swfdec_playback_alsa.c | 6 +-- libswfdec/swfdec_audio_event.h | 2 - libswfdec/swfdec_audio_flv.h | 4 +- libswfdec/swfdec_audio_stream.h | 4 +- libswfdec/swfdec_bits.c | 60 +++++++++++++++++------------------ libswfdec/swfdec_bits.h | 28 ++++++++-------- libswfdec/swfdec_buffer.c | 18 +++++-----
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
libswfdec-gtk/swfdec_playback_alsa.c | 6 - libswfdec/Makefile.am | 2 libswfdec/js/jsinterp.c | 10 -- libswfdec/swfdec_as_context.c | 50 ++++++++++- libswfdec/swfdec_as_context.h | 4 libswfdec/swfdec_as_frame.c | 7 - libswfdec/swfdec_as_frame.h | 3 libswfdec/swfdec_as_function.c | 146
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
libswfdec/Makefile.am | 2 libswfdec/swfdec_as_interpret.c | 19 libswfdec/swfdec_html_parser.c | 474 ----------- libswfdec/swfdec_initialize.as | 11 libswfdec/swfdec_initialize.h | 1118 +++++++++++++-------------- libswfdec/swfdec_text_field.c | 18 libswfdec/swfdec_text_field.h
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
configure.ac | 27 +++ doc/Makefile.am | 3 doc/swfdec-docs.sgml | 1 doc/swfdec-sections.txt | 18 ++ doc/swfdec.types | 2 libswfdec-gtk/Makefile.am | 6 libswfdec-gtk/swfdec-gtk.h | 1 libswfdec-gtk/swfdec_gtk_loader.c | 243