similar to: something.should_be_open blows up?

Displaying 20 results from an estimated 4000 matches similar to: "something.should_be_open blows up?"

2007 Jan 10
7
foo_spec.rb -> foo.rspec (proposed RSpec file name convention)
Is it too late to suggest some filename conventions for example rspec files--especially when bundling with gems? I see spec_foo.rb and foo_spec.rb around. Also found some foo_ex.rb around. Would having a foo.rspec be worth talking about? Or is the convention more or less to have ''spec'' in the file name? I have to confess the only real motivation I have at the moment is syntax
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However, whenever I describe a class within the gems lib I get an uninitialized constant error. I am placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can
2006 Dec 20
16
Edge RSpec on Rails...what did I forget?
Started a new Rails project, and installed RSpec and the Rails plugin vendor/plugins/rspec (svn://rubyforge.org/var/svn/rspec/trunk/rspec) - 1332 vendor/plugins/rspec_on_rails (svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails/vendor/plugins/rspec_on_rails) - 1332 Generated the rspec file, created a model...the spec runs fine if I do ruby spec/models/foo_spec.rb. Running rake though gives
2008 Sep 24
19
How to define request.domain in when testing
Hi, My application relies on request.domain for doing its job. The problem I am encountering, is that when running tests, request.domain returns "test.host", how can I change that so that it returns "mysite.com"? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2007 Dec 11
3
Fresh rspec on rails install blows up
Hi there, I installed the rspec on rails plugin for a new project today and guess what -- it blows up! All by other rspec on rails projects are working fine. I updated all gems & still no joy. Any ideas how I can troubleshoot this one ? Here''s my setup: - ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0] - Rails 1.2.5 Installed with svn: ruby script/plugin install
2008 Jun 04
8
Why has the --color gone from my life?
Hi all, Running on OSX 10.5.3, Latest Rspec trunk, Rspec rails trunk, latest autotest gem and rails 2.1 I''ve lost my colour output in autotest. rake spec gives colour output, but autotest gives me black and white. It was working a little bit before, I think I upgraded to the latest versions of everything to get all the textmate snippets talking and being friendly to one another again
2010 Sep 15
1
specs inside subfolder of lib folder not displaying proper error messages
hi im facing this issue in which if i place a failing spec inside a subfolder of my lib folder then along with the error message the file name and the line number is not shown. output as below: ''Test one'' FAILED expected: 2, got: 1 (using ==) but if i move the spec directly under lib or any other folder then i see the file name and line number with error message as below
2006 Oct 31
0
6336683 address::queue -v blows up kmdb and mdb
Author: meem Repository: /hg/zfs-crypto/gate Revision: 4d618a4110ff44c57939c29a3a8a198be2ec8352 Log message: 6336683 address::queue -v blows up kmdb and mdb 6338969 netstrategy needs to use SIOCGLIFFLAGS and friends to see IFF_VIRTUAL 6339847 ip_rcm incorrectly parses interface names 6340643 ip_rcm is lugging around dead code 6340645 ip_rcm tracks needless phyint state Files: update:
2002 Nov 12
0
Re: net ads join blows
hi, you cannot use the root-principal unless it has administrative privileges, this works for me: kdestroy kinit administrator@YOURREALM net ads join bye, guenther On Thu, Nov 07, 2002 at 08:48:44PM +0200, Jaakko Niemi wrote: > > Starting program: /usr/bin/net ads join > root password: > net: /home/liiwi/cvs-foo/openldap-2.1.8/libraries/libldap/getvalues.c:97:
2010 Feb 23
1
installing ROCR/gplots packages blows up memory
When I try to install the ROCR package (which requires gplots) on Ubuntu 9.10 (Xubuntu Karmic Koala) 64-bit on R version 2.9.2 (2009-08-24), it eats up all my RAM (2GB) and swap (4GB) and keeps allocating more memory until Linux's out of memory (OOM) killer kills the perl process. This problem is special to Ubuntu because I can install other packages (such as party) on this Ubuntu system, and
2004 Sep 20
1
Nortel/Bell Canada Vista-350 ADSI
Hi Everyone, I've been in contact with a few members off list about this, and I still can't figure out what to do (aside from buying a more current ADSI compatibile screenphone). The problem is that I have a Locked Nortel Vista-350 phone and I cannot update the ADSI scripts. I have used the reset time/date trick, and then was able to partially upload the ADSI information to the
2006 Jun 10
1
mongrel (0.3.12.4) blows up
Hello, I don''t know if this is really relevant anymore because a new version is about to be released it seems, however I''ve been trying to run mongrel 0.3.12.4 on a development server in development mode (simply with mongrel_rails start). I try to access the server and the first page (static file) loads, but then the server dies and I get this in the logs. I''m
2008 Oct 14
1
To all TextMate users that wants to run tests with cmd + r in Rails 2.1 and above.
Because the require ''test_helper'' at the top of all the tests is relative now (it used to be something like require ''../test_helper''), you can''t just run the file with ruby anymore. And running the file with ruby is exactly what command + r does. Which means you can''t easily run your tests from textmate. The solution:
2004 Dec 29
2
So what if I can't dial out ... or in ... Asterisk just blows my mind!
I subscribed to this list for about two months before I began posting, so I've got a buttload of email to sift through ... I'm doing this BEFORE I flood the list with my inane questions ... But here goes: I read a reply from one guy to another about recording. The message included this context from extensions.conf: [recordings] exten => 500,1,Festival('Please record your
2002 Aug 23
1
R_NilValue blows up on Windows
Ok, Here's the c code that's loaded into R as dll on windows: #include <R.h> #include <Rdefines.h> SEXP test1(SEXP col); SEXP test1(SEXP col) { SEXP col2; Rprintf("no value!\n"); return col2; } Compiles ok with bcc32 into a dll, loads into R as part of a library, I Run library(rkdb), then > .Call("test1", 2) no value! And puf! Rterm crashes.
2004 Sep 03
2
X100P blows up after a while (really loud noise)
Two days ago, I was talking on the phone from the FXO, to a SIP phone. After some time (like 1h30m), all of a sudden, there's a huge noise, like a buzz... Really loud. So I hungup, and called my asterisk box again... All I could hear was that sound. Someone called me from the internet, and as Asterisk dialed the FXO, all she heard was that noise too. So, I logged in my Asterisk server,
2017 Apr 11
1
OT: systemd Poll
On 04/11/2017 09:11 AM, Jonathan Billings wrote: > On Tue, Apr 11, 2017 at 09:02:45AM -0700, Bruce Ferrell wrote: >> How about over 30 and it took me a week? No, I don't carry a CS >> degree or cert of any kind either, just some high school. >> >> For me, systemd has been an absolute nightmare of unexpected reboots >> and non-transparently broken processes
2007 Jan 04
8
Common setup code and naming specifications
Hello! I have a lot of contexts for testing Rails controllers, that must do something like ''session[:logged_in] = true'' in their setup. How can this be refactored? In unit tests I would simply create a LoggedInControllerTest base class, that all my functional tests would derive from. And another small question: In my controller specifications I often have to decide whether to
2006 Apr 15
8
I need to send an email when something happens in my model...
but the model isn''t the right place to send mail from. That just seems like pretty bad coupling, generating emails from within the model. Or is that not a problem? On top of that, these emails need to contain links back to my site...which is a bit of a pain in ActionMailer, but I found directions on http://wiki.rubyonrails.com/rails/pages/HowtoUseUrlHelpersWithActionMailer however I
2006 Aug 22
5
Creating mysql triggers with migrations blows up
def self.up execute("delimiter ^ ") sql = <<-_SQL CREATE TRIGGER customer_bi BEFORE INSERT ON customers FOR EACH ROW BEGIN SET NEW.sndx = SOUNDEX(NEW.lname) ; END ^ _SQL sql.split(''^'').each do |stmt| execute(stmt) if (stmt.strip! && stmt.length > 0) end execute("delimiter ;