search for: nruth

Displaying 6 results from an estimated 6 matches for "nruth".

Did you mean: truth
2009 Sep 20
11
describe block proc parameter as alternative to before blocks?
I''ve been reading through the Rspec book to see if I missed any tricks, and the discussion of before block use for context setup in sec 12.6 struck me as interesting and something I had a knee-jerk reaction to. I think that when you are using nested examples to describe a context change it is bad practice to allow any example within that group to run outside of that context. This could
2010 Jul 08
2
rspec-rails how to selectively turn on csrf protection for controller specs?
I''m setting up a Paypal IPN listener and need the create action to not use rails'' default CSRF protection. I''ve got that working fine & test it actually works with cucumber (where I''ve turned CSRF back on, since it''s full-stack testing) but would like my controller spec to mention the need for protect_from_forgery :except => [:create] (and fail
2011 Aug 28
3
rspec-rails render_views doesn't render layouts? / how to check flash isn't rendered
I''m trying to test that "static" pages (they''re ERB, but get cached), generated through rails, don''t render any stray flash notices left over by the authentication system (Devise) or wherever else. I''ve tried writing this controller spec, but it appears that response.body only renders the template, not its layouts? describe "so that static
2002 Jul 18
1
Cannot copy files to samba share. (A little off-topic)
I've created a share in Samba (2.2.3a) and cannot copy or create files in it. I know I've missed something, but am unable to find the error. Any help is appreciated. I'm logged on with username nick (correctly as I can add files to my Home directory...) smb.conf [global] workgroup = kbnn server string = Business Linux/Samba Server hosts allow = 10.0.4. 127. remote announce =
2002 Jul 16
1
OK, Samba's OK, now I need swat help.
Ok, I should be able to start swat with xinetd, but I can't seem to get anything to start. 1. How do I tell if swat is running (other than trying to browse to aaa.bbb.ccc.ddd:901) 2. Can someone give me an idea of what and where I need commands for xinetd. Server is RH7.2, Samba 2.2.3a, following file "swat" is in /etc/xinetd.d/ ## /etc/xinetd.d/swat service swat { port
2002 Jul 24
1
Controlling Access to directories within shares
I have several directories within a share. I have different groups within linux that have access to these directories. I currently have my force group = everyone in smb.conf (the everyone group is just that a group of all valid users). Is there any way to set a force group for different directories within a share? If I set those directories up as shares, (even if I get to them via the other