Displaying 12 results from an estimated 12 matches for "test_result".
Did you mean:
test_results
2008 Jan 28
9
Nested matchers
...expects(:attributes=).with(:game_file =>
kind_of(GameFile), :game_id => @game.id)
This expectation was passing with 0.5.5, but fails with 0.5.6.
I added this test to parameter_matcher_acceptance_test.rb, which
passes in 0.5.5 and fails in 0.5.6
def test_should_match_nested_parameters
test_result = run_test do
mock = mock()
mock.expects(:method).with(:literal_key => kind_of(Integer))
mock.method(:literal_key => 1)
end
assert_passed(test_result)
end
Any insight?
2006 Jul 19
1
Updating a model from a checkbox (noob question)
...ame
end
This generates the combobox (inside a view partial):
<%= select("test_type", "id", TestType.find_all.collect {|tt| [tt.name,
tt.id] }, { :include_blank => false}) %>
Here''s the command in the controller''s ''update'' method:
@test_result.update_attributes(params[:test_result])
Thanks very much,
Roy Tinker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060719/0efc7080/attachment-0001.html
2008 Jan 18
8
Query All Worker
What does the method query_all_workers() do? There is no documentation
on what this method returns (1.0.1 version).
Orion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080118/9f9b8112/attachment.html
2008 May 21
1
Testing REST webservices? (Not Rails)
...t;page" priority="0">
<provides result="test"/>
</monitor>
<process command="test" id="test" weight="100">
<needs result="test"/>
<provides result="test_result"/>
<error result="error"/>
</process>
</workflow>
Result: 201 Created
GET http://localhost/workflow text/xml
Result: 200 OK
<?xml version="1.0"?>
<workflows>
<workflow>flow1</workflow>...
2008 May 21
2
RSpec for testing REST webservices? (Not Rails)
...t;page" priority="0">
<provides result="test"/>
</monitor>
<process command="test" id="test" weight="100">
<needs result="test"/>
<provides result="test_result"/>
<error result="error"/>
</process>
</workflow>
Result: 201 Created
GET http://localhost/workflow text/xml
Result: 200 OK
<?xml version="1.0"?>
<workflows>
<workflow>flow1</workflow>...
2024 Sep 17
0
Degree of freedom issue on chi-square test of goodness of fit
...o I use their
estimation. Consequently, I calculated out the probabilities and input in
vector p
>x<-c(6,13,14,27,25,19,10,6) #observation freq>p<-c(0.0505, 0.0874, 0.1533, 0.2088, 0.2088, 0.1533, 0.0874, 0.0505)
#probabilities from normal distribution
test_result<-chisq.test(x=x,p=p)
test_result
Chi-squared test for given probabilities
data: x
X-squared = 1.8468, df = 7, p-value = 0.9678
from the out put, the degree of freedon is 7 (df=7), because the data
was in 8 groups so df=8-1=7
That is perfect if the parameters (? and ?^2) in normal dist...
2009 Jun 25
2
crr - computationally singular
Dear R-help,
I'm very sorry to ask 2 questions in a week. I am using the package
'crr' and it does exactly what I need it to when I use the dataset a.
However, when I use dataset b I get the following error message:
Error in drop(.Call("La_dgesv", a, as.matrix(b), tol, PACKAGE = "base")) :
system is computationally singular: reciprocal condition number =
2010 Mar 22
5
UnitTesting-Action view testcase is failed
Hi,
I run the "Unit testing", Then The "Actionview::Testcase" is failed. i.e
i am getting the error as below,
1) Error:
test_tablename(ActionView::TestCase):
TypeError: wrong argument type Class (expected Module)
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/helpers.rb:76:in
`include''
2013 Jan 11
0
Error with looping through a list of strings as variables
...ame start-up errors. Once these
start-up errors are resolved there should be a "(data, ...) : fraction of
0.000000 is too small" error will be seen which is simply due to the
small substitute data set and of no concern.
rm(list=ls())
library(party)
library(reshape)
puthere <- c("TEST_RESULTS.csv")
hsb2 <- read.csv("http://www.ats.ucla.edu/stat/data/hsb2.csv")
names(hsb2)
set.seed(8296)
ctrl <- cforest_unbiased(ntree=500, mtry=2)
varlist <- names(hsb2)[3:4]
for (h in varlist){
for (k in c(1,0)){
for (i in c(1,2)){ ## Data subset
filtered <- subset(hsb2,
sc...
2008 May 14
0
Parallel computing with rgenoud and snow: external file I/O possible?
...e working directory--must be an absolute pathname. Also put
this statement inside
# drive.calib(), the function that is called by genoud(). I cannot get
genoud() to pass this
# as an argument without breaking.
working.dir <- "/projects/dhsvm/uvm/test/rhelp/"
results.file <- "test_results.txt" # file to save results in
# Set up the cluster
this.host <- system("hostname", intern=T)
node <- c(this.host, "escalante") # add additional nodes here
setDefaultClusterOptions(master=this.host, type="SOCK", homogeneous=T,
outfile="/tmp/cluster1...
2013 May 11
1
Samba git: build error when upgrading
Seeing a build problem after updating my git tree:
$ git remote -v
origin git://git.samba.org/samba.git (fetch)
origin git://git.samba.org/samba.git (push)
$ git pull
$ ./configure ...
$ make clean
WAF_MAKE=1 python ./buildtools/bin/waf build
./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 module is deprecated; use hashlib instead
2007 Jan 04
10
Intermittent "can''t convert Float into Hash" and results.rb
Hi,
I''m using backgroundrb 0.2.1 in a production environment and for most
parts I''m very happy. We are using it to do some heavy video editing on
the server side and it works great except that under, what seems heavy
load the below problem happens intermittently.
The problem has only happened 5 times out of over 500 runs by our
backgroundrb worker.
This is the code in our