Displaying 4 results from an estimated 4 matches for "test_method".
2008 Feb 02
6
Suspended start of task not suspended
Hi
I thought this should suspend the task by 1 minute, but it starts
immediately:
MiddleMan.ask_work( :worker => :bar_worker, :worker_method
=> :test_method, :trigger_args => { :start => (Time.now + 1.minute)})
Is the start argument not allowed in the new backgroundrb (mine is at
rev HEAD (=314))? What can I do about this?
I really need to suspend starting the task as I want the client to
start the trigger but the task itself should wait ti...
2007 Jun 28
7
Custom report outputting text, expected and actual on succes?
I would like to output the following information when running a spec
(_also_ on success):
- the description text
- the expected value
- the actual value
After looking through the documentation I thought custom formatters
might be the way to go, but unfortunately it does not look like all
variables are accessible from there?
I need this for an academic report where all testing needs to be
2006 Jan 17
2
Rails Unit test Problem
...unit test file
I would like to know why xxxx.yml containing test data are load only 1 time
for all the test while specification say it done for before each test
method.
Thus my test_xxx are dependant of previous test
This is a mistake, because the specs say the test data are reload before
each test_method?
I would like you help to solve this problem?
Is it a rails bug, strange because specs are clean on this subject?
Regards.
Croco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060117/f6442f1a/attachment....
2010 Jun 03
1
need to save generated pdf in public folder
hai
im ruby on rails developer, im integrating princely plugin and prince
software to my rails application
i have generated pdf file successfully using the following code
princely = Princely.new()
html_string = render_to_string(:template => ''test_methods/
visual_test/generate_report.rhtml'', :layout=> false)
send_data(
princely.pdf_from_string(html_string),
:filename => ''visual_test'',
:type => ''application/pdf''
)
now i want to need save the pdf file in my public fo...