Displaying 20 results from an estimated 10000 matches similar to: "Seperate servers for home directory space and logins"
2006 Oct 06
8
Expecting calls with two different parameters
Hello,
I''ve just started using Mocha in the tests for my Rails app, and I''ve
run across an issue with mocking a method that should be called with
different parameters.
How would I setup a mock that expects that a method will be called
once with no paramaters, and a second time with a parameter? I''d be
tempted to shortcut and just do something like
2007 Jan 09
6
spec not running in TextMate
I tried running a spec with command-r in TextMate and got:
/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/
lib/spec_mate.rb:1:in `require'': No such file to load -- rubygems
(LoadError) from /Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec_mate.rb:1 from /tmp/
temp_textmate.GplhPr:3:in `require'' from
2006 Oct 08
9
Organizing tests and mocha expectations
I''m simultaneously getting into using Mocha and RSpec-style tests
(courtesy of the simply_bdd plugin) and I''m struggling with some
issues while trying to organize my specs/test. Here''s a code example
illustrating the problem:
context "update cliient invalid data" do
include ClientsControllerSpecHelper
specify "should render edit form" do
2006 Oct 17
4
Mocking the rendering of a Rails template
Hello all,
I''m having difficulty setting up mocks such that I can verify that
Rails was going to render the right template file (for example
new.rhtml) and stop Rails from performing the actual rendering.
After peeking at Rails'' internals, I tried two techniques as illustrated here:
http://pastie.caboo.se/18197
Neither worked.
I think the first one failed because Rails
2007 Feb 17
4
RSpec usage
Hey all,
Trying to get feel for RSpec usage so I''m taking a straw poll...
What''s the largest project you''ve used RSpec on in terms of app LOC
app and spec LOC? Also, how long have you been using RSpec in
"production" code?
-Bryan
2007 Mar 19
24
alias method spec?
I am completely baffled by this one - My guess is that there is no
pure ruby way to do this - but how could I set up a spec to test that
one method is an alias of another?
Thanks for any help,
Scott
2006 May 20
1
Rails Day 2006 -- 24 hour programming contest on July 17th
I just launched the website for Rails Day 2006, the second annual 24
hour Ruby on Rails development contest. Teams of one to three people
have 24 hours to develop a Rails application from scratch. When the
contest is over, entries are judged, and cool prizes are awarded.
http://www.railsday2006.com/
Sponsoring Rails Day is a great way to promote your company to the
geek demographic. If
2008 May 14
4
Reuse steps like a method call
If I have a step matcher defined as so:
Given "a user named $username" do |username|
....
end
Is there a way to call it from another step? For example:
Given "a user named $username with a blog post |username|
given_a_user_named(username) # calls existing step code
# create a blog post
end
Cheers,
--
Bryan Helmkamp
http://brynary.com -- My blog
2015 Oct 10
2
Workstations are member servers (or domain members) Re: Samba AD PDC , LDAP and Single-Sign-On
On Sat, 10 Oct 2015 08:23 Andrew Bartlett wrote:
> The main difference between use as a file server vs use as a desktop,
> is that pam_winbindd is mandatory for the Samba method (see elsewhere
> for using sssd or other tools), as that will get you you the desktop
> login.
Yes, that does clarify and give me comfort with respect to naming. I understand
that the office-central Samba4
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
Hey guys,
We developed this plugin while writing my first real set of RSpec
stories. It''s still missing a lot of functionality, but it''s useful to
us as is, so I''m shipping 0.1.0. (Patches welcome. :) )
Code is available at: http://svn.eastmedia.net/public/plugins/webrat/
What do you think?
-Bryan
Here''s the README:
2007 Mar 25
3
New Style: describe-it instead of context-specify
Hello,
in the tunk, i found a new style for spec:
describe Foo do
it "should do bar" do
...
end
end
instead of
context "Foo"
context "should do bar"
...
end
end
The Rails-Textmate-bundle in trunk use only the new "describe-it"
style,
What are the reasons for the new style ?
Shall i use the new style from now on ?
Hussein
2008 May 03
9
Any news on the rSpec books?
I admit it, when it comes to rSpec, I''m lazy. I''ve made a few feeble
attempts to use it, but for once I''m waiting for a book-length
treatment. At least two books were announced, I think. Can anyone in
the know please report on their progress?
Thanks
Michael
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2007 Dec 20
19
Story runner rake task
What''s the status on a rake task for the story runner. If nothing is
in progress, where could I start to try and build one?
JD
2007 Oct 18
6
spec:models depends on development db:migration
For those interested ....
rake spec:models seems to clone the test database from development. If
your dev db is empty, the models task fails mysteriously.
Anyway, to make sure your dev db is at the current migration version, I
added this dependency in lib/tasks
task ''spec:models'' => ''db:migrate''
Now the dev db is migrated up with each test pass.
Keith
2015 Oct 08
3
Samba AD PDC , LDAP and Single-Sign-On
On Thu, 8 Oct 2015 15:46 Sketch wrote:
> It's easy in Linux with Samba as well. You basically just need to follow
> the directions here:
>
> https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server
Thanks for the feedback. OK, I'll check out your link ASAP. The "Server" bit
in the link gives me pause. I *have* a Samba4 AD/DC "server" already.
2006 Feb 08
1
Bandwidth: to seperate or not to seperate
Hi everyone,
RE: Bandwidth. We have an asterisk server sharing bandwidth with other
[web] servers in cabinets that we rent in a large data-center and all is
working fine. But I'm concerned that web traffic could affect the VoIP
quality (my tests so far haven't showed this [yet!]. Currently I'm
running a server with Netfilter (iptables) between all the servers and
the Internet
2001 Nov 25
2
winbindd ?'s
Am I correct in my understanding that with winbindd (and PAM), I am able to
authenticate PAM aware apps against an NT 4 domain with no passwd entries?
If so, how would one get ssh working with this? I've followed the winbindd
how-to and haven't been able to ssh into the box with winbindd using an
account that only resides in the domain (i.e. isn't in the passwd file).
Could
2011 Oct 31
0
Slow Game movies in seperate X server
I've searched for an answer on this one, but couldn't find a topic on this.
Today I read something about running games in a seperate x-server.
This could have benefits for some games so I was told.
I already managed to get the seperate x-server to start, and for wine to run a executable in there.
Now here comes my problem, which is that playback of game video's (cutscenes etc.) is very
2008 Jun 18
3
How to seperate pop3 and imap user lookup?
Hi, all.
I have two column in MySQL user table:
- enablepop (NOT NULL default '1')
- enableimap (NOT NULL default '1')
How can i config dovecot to seperate pop user lookup and imap user lookup?
Thanks very much.
--
Best Regards.
Zhang Huangbin
- Mail Server Solution for Red Hat(R) Enterprise Linux & CentOS 5.x:
http://rhms.googlecode.com/
2011 Feb 02
2
Seperate BIND server for Samba 4
Hello!
I've set up samba 4 with great success since alpha12, but i've always used a
locally installed version of BIND.
Is it possible to use a seperate BIND server instead? I'd like to not run BIND
on my file server.
I have not seen any instructions to this effect, so perhaps someone would please
point me in the
correct direction?
Thank You Very Much!!
++AMARU