Displaying 15 results from an estimated 15 matches similar to: "hardware question"
2008 Mar 05
14
[Stories] Login and subdomain
I''ve just begin using rspec stories, and i m encountering some
problems. In my application i have different subdomains in which
specific users can log in, for example an admin will go to
admin.myapp.com/authenticate/login, and an user belonging to a
specific company will log in company.myapp.com/authenticate/login, and
of course both have a different login process.
To perform some
2008 Jan 13
2
should_receive twice and arguments
Hi all, I have a method calling Klass.create! two times with different
arguments (this happens in a class reponsable for reading in a csv file)
I want to test those like this:
in one test: Klass.should_receive(:create!).with(:name => "foo").once
in another: Klass.should_receive(:create!).with(:name => "foo2").once
This doesn''t work because the
2004 Apr 14
2
samba on distro...
Hi,
I have to setup a samba-server (and a bit intranet) for a school.
There are about 200 client-pc's for about 1000 people.
Now I wondered which OS would be best for us. Should we pay for a
distro, or would a free distro be enough? And which distro should we
use? Please keep in mind that schools like quality and don't like big
bills! ;-)
thanks in advance for any answer,
Ivo Dancet
2007 Dec 23
1
multiple scenarios problem
Hi all
I just recently started to use rspec and I''m having a problem using
multple scenarios in one story. These are the two scenarios, trying to
test my implemenation of the new http authentication in rails 2:
Scenario "user has to authenticate" do
Given "an anonymous user" do
end
When "visiting", "working_page" do |page|
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi
I just tried to move my project to rails 1.2.1 on my locomotive
development setup. It seems that backgroundrb is not willing to start
up anymore. If I switch locomotive back to 1.1.6, everthing is fine.
This is the error I get while attempting to start backgroundrb:
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
2004 Feb 05
2
mandatory profiles?
I would like to setup a samba PDC with mandatory profiles for my school.
I know that I can easily use them for XP (centralized) and that for Win
98 I have to put them in the user accounts. Now my question: do I have
to put a profile in the user account each time a new user is made? Or is
there a simple way of doing this. (off course I would link it to one
profile, but this way I still have to
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
2008 Mar 19
2
Stub / Mock - A little guidance?
Hi there,
I''m still trying to wrap my head around when to use a stub and a mock.
If I understand this right, I should be using a ''mock'' when imitating
an object, but not its behavior. I should be using a stub when I want
to imitate the behavior of an object. Does that sound about right?
With that said, I''m struggling a little trying to spec out this
instance
2007 Dec 05
1
RC2 troubles
Hi
I can''t get backgroundrb working. I get the following error in
backgroundrb_server.log:
backgroundrb/framework/core.rb:117:in `bind'': Address family not
supported by protocol family - bind(2) (Errno::EAFNOSUPPORT)
Seems to be a problem with my Mac (Leopard) and my ruby install (1.8.6
that came with the OS) according to some emails I found with google.
Did anyone
2007 Nov 30
2
which version of backgroundrb to use
Hello
I''ve been using backgroundrb for a while now and love it.
I''ve notices some recent updates and am confused as to which branch/tag is
what.
What''s the difference between these:
new_core/
version010/
version099/
version10/
and trunk, and where does "0.2.2" fit in?
Thanks!
--
Peter T. Brown
peter at wagglelabs.com
http://wagglelabs.com
2004 Feb 09
1
school PDC questions
I need to set up a samba server (I think samba 3.0.2 will be the one) as
PDC for my school. It needs to serve mandatory profiles, home dirs,
shares, printers. As OS I think redhat will do just fine (or isn't that
a good idea?). Authentication would use openLDAP (if I get it online
with the hints of realx).
Questions:
1. What hardware will do a fine job to do this?
2. Can a webserver run
2008 Mar 20
1
stories with selenium and the db
Hi all
Tonight I wanted to test out selenium in a story to test some ajax
stuff on a page.
After struggling for an hour or two with disappearing database objects
I found the solution in a blog post by Kerry Buckley.
with the comment included it reads:
# Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back
class Spec::Story::Runner::ScenarioRunner
def
2007 Dec 23
0
basic authentication
When I try to get a page via post_via_redirect on a project that uses
the new rails 2 http authentication, for example:
post_via_redirect path,
{:name_of_object => { :att => "test" }},
:authorization => authorize
then the post works, but then I''m being redirected to the show action
where I''m unauthorized again. A browser doesn''t suffer
2006 Dec 15
1
:job_key acting weird?
Hi all
I''m experiencing something strange with a :job_key, it took me a very
long time to find out a worker wasn''t doing it''s job because of the
name of my job_key. The first one I tried was :make_kohier, and with
that name (and lot''s of other ones) I can''t get the worker to work. I
do get my key in return, but the job doesn''t start
2004 Feb 17
1
logon.bat and home dir
I recently set up a samba PDC 2.2.8 for testing purposes only.
Everything runs well enough now.
There is one thing I can't seem to get to work. I made a logon.bat logon
script for sharing a share called 'databank' on T: and it works
correctly, but trying to get the windows mount the home folder too
results in no mounting. That is: no databank and no home folder (on T:
and Y:).
My