Displaying 20 results from an estimated 6000 matches similar to: "Problem at the start"
2007 Apr 11
12
redirection doesn''t get detected well?
I''m doing a redirect in one of my controller actions and somehow I can''t
spec it, see this pastie: http://pastie.caboo.se/53120.
When following the link from a browser I''m being redirected to the right
page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 May 11
2
spec a replace_html with a partial
I wanted to use ARTS to add RJS in a behaviour driven way to my
application, but I''m having some trouble asserting a replace_html with
a partial.
I''ve created a pastie (http://pastie.caboo.se/60694) which contains
the RJS I want to spec, the spec which I already wrote and its failure
message.
I''m currently using RSpec-0.9.2
2007 Jan 05
2
Using RESTful routes in controller tests
Why can''t I use the RESTful route helpers in my specs?
In my controller I''m doing a redirect: redirect_to list_path(:id =>
@item.list_id)
Now when I write: controller.should_redirect_to list_path(:id => 2)
I''m getting the following error:
NoMethodError in ''POST on /lists/2/items should redirect to index on
succesful POST''
You have a nil object
2007 May 03
6
RSpec 0.9.2
Behind every great release is a maintenance release.
Go get it while it''s hot.
We''ve also reworked the website a little - trying to scare off fewer people.
Aslak
2007 Apr 19
5
Best practice thoughts: Model helpers, mocks
Hello! I''m pretty new to unit testing, and have only been using RSpec
for a few weeks. I found that for my controller specs, my setup
methods were getting very long building mocks/stubs for all the model
objects I needed to work with.
I''ve started creating helpers like the following for each of my
models. The "min_" methods are short for "minimum", and
2007 Sep 29
4
How to write the very first example?
Many posts on this list are about using RSpec with Rails and that''s the way
I''m also using RSpec all the time.
Unfortunately there isn''t that much info about using RSpec for standalone
Ruby projects.
I must admit I''m really having a hard time writing the very first example(s)
for a fresh standalone Ruby project. I haven''t really got a clue where to
2008 Mar 04
9
What is your workflow? Or how to use the story runner the right way.
I really would like to know how people are using the Story and Example
runner to write their software.It would be great to get some direction on
it, because I think I''m missing some points.
Taking the outside-in approach in thought:
At first we write a high-level customer-facing story, this story fails.
Then we start using mocks at object level to use them as a design tool,
and so we
2007 Jan 21
35
Collection proxies need to be stubbed ?
Hi all !
I just started writing specs on a new project. I would just like to
validate that this is the way you would write it. I know about mocks,
stubs and expectations. I don''t think this is a problem for me.
My question really boils down to:
def index
@projects = current_user.projects.active
end
My spec needs to return the proxy, no ? Here''s my code:
context "A
2007 Nov 17
7
Using RSpec to drive the design of a GUI desktop application
Hello everybody,
I''ve been using RSpec as a tool to create web applications for some time
now, in Rails, and using plain Ruby with WEBrick as well. The tool suits my
needs and the story runner is great.
Now there are things that aren''t solvable on the web, you''ll need a _real_
desktop application for those problems.
So I''ve toyed a bit around with various GUI
2010 May 13
2
Help with reading information of "summary"-Object
Hi,
I am quite new to R - but quite expierience in programming. Nonetheless
I have some problemes in accessing information of the "summary" object.
Here is what I do:
model <- lm ( y ~ myVariable )
"summary(model)" gives me an object which has a lot of information about
the regression. Now I'd like to access programmatically the level of
significance which is
2006 Sep 02
4
maximum class
Hi,
currently I''m using 48 class with htb & very stable
Is there any maximum number of class I can create in a single linux box ?
I need 500 or even 1000 class for campuss network.
Any help appreciated
thanks & regards
Tino
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2007 May 03
7
before method
Would it be desirable to have before and after take a spec name as
well as :each and :all?
Scott
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2003 Jun 05
1
Admin Please read RE: Re: Submited (004756-3463)
Admin please remove this person. he keeps spamming the list
-----Original Message-----
From: tino@augsburg.net [mailto:tino@augsburg.net]
Sent: Thursday, June 05, 2003 4:53 AM
To: samba@samba.org
Subject: [Samba] Re: Submited (004756-3463)
Please see the attached file.
2007 Apr 18
2
[Bridge] Clarification regarding device matches in bridge-netfilter
Hi folks,
in 2.4 kernels, device matching for bridged packets was done with
iptables -i/-o. Since 2.6, I was used to use -m physdev here.
In 2.6.18, This seems to be more complicated. At least the filter/INPUT
chain now doesn't match with -m physdev --physdev-in anymore, but
FORWARD and OUTPUT does. I also read the note that -m phydev is now
deprecated for non-bridged traffic.
Does this
2018 Jul 05
2
Different behaviour of winbind in 4.8.3
Hi Rowland,
sorry for the late reply.
On 07/02/2018 10:20 AM, Rowland Penny via samba wrote:
> You don't have 'winbind use default domain = yes' so you should have to
> use the domain name to get a result.
FWIW, with 'winbind use default domain = yes' the output is:
# id tmutest
uid=1102339(tmutest) gid=1000513(domain users) groups=1000513(domain
1999 Mar 16
1
qqnorm in R-0.63.3
Dear List,
invoking qqnorm-plots in Version 63.3 produces funny things:
using the option `type="s"ยด on qqnorm should give a nice *line* of
observed quantiles. Now, the line is walking along in order to the
points index instead from lowest to highest, wich makes funny slopes.
try x <- table(rnorm(1000) # or similar and
qqnorm(x,type="s") # in 0.63.2 and 63.3
Well, the
2004 Sep 02
2
isync with dovecot
Hi folks,
I use isync, an IMAP sync tool (Debian package isync 0.9.2-2) together
with dovecot (dovecot-imapd 0.99.10.8-0.backports.org.1).
Everytime when isync wants to upload a new mail from the client to the
server I got messages like this:
Mailbox outbox
Selecting IMAP mailbox... >>> 16 SELECT "outbox"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS
2003 Apr 06
1
Details to factor analysis
Well, it is no problem to use R or S-Plus for a principle component analysis (PCA). The function "princomp" works very well with my polychoric correlation matrix, that I use for this approach on ordinal variables. But I want to inspect the Kaiser-Meyer-Olkin-crieterion with the "measure of sampling adequancy (MSA)" and the anti-image-correlation matrix. I can''t find
2018 Jul 02
5
Different behaviour of winbind in 4.8.3
Hi list,
the behaviour of winbind changed in Samba version 4.8.3.
Having this nsswitch.conf:
# cat /etc/nsswitch.conf
passwd: compat winbind cache
group: compat winbind cache
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db