Displaying 20 results from an estimated 9000 matches similar to: "Running specs in reverse"
2007 Oct 16
6
RailsStory runner - empty response
I generated a new rails app then installed rspec and rspec_on_rails from
trunk.
I then created a sample story:
require File.dirname(__FILE__) + "/helper"
Story "View Home Page", %{
As a user
I want to view my home page
So that I can get a birds eye view of the system
}, :type => RailsStory do
Scenario "Publisher with no videos" do
When
2007 Dec 12
3
undefined method: controller_name
With rspec 1.0.8 I have a spec in the directory:
spec/units/controllers/application_controller_spec.rb
require File.dirname(__FILE__) + ''/../../spec_helper''
class DummyController < ApplicationController
def index
raise "Prevent index from rendering"
end
end
describe ApplicationController, "Handling errors in production",
:behaviour_type =>
2007 Oct 16
5
RailsStory - lessons learned
After trying RailsStory for a few days, I have learned:
1. Rails testing support does not serve up static pages
2. RailsStory masks errors generated by the app under test
3. The masked errors are available in log/test
4. I should read log/test more often
See http://pastie.caboo.se/107876 for an example for points 2 and 3
The welcome controller fails when the HTTP_USER_AGENT is missing.
2007 Oct 12
1
Edge rspec - running Test::Unit tests
With rspec 1.0.8 I can run Test::Unit tests and rspec tests using:
rake default
and all tests and specs run.
With edge rspec the Test::Unit tests return with the message:
[list of tests]
Finished in 4.5e-05 seconds
0 examples, 0 failures
How can I get Test::Unit and rspec to happily co-exist again?
Thanks,
Alvin
2006 Aug 12
1
Strategy pattern: comparing Context/Specify to Given/When/Then
Comments and suggestions for improving the specifications are welcome.
Thanks,
Alvin
One example comparing context/specify (CS) with given/when/then (GWT)
with a strategy pattern follows:
Consider a pipeline transporting oil supplied by multiple partners.
The amounts transported on behalf of each partner are recorded as
transactions in a general ledger.
There are multiple approaches to
2006 Sep 07
2
Matrix package in R-2.4.0alpha
In a newly downloaded version (today) of R-2-4-0alpha, with all packages
from CRAN also installed today, I get:
> library(Matrix)
Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
keep.source) :
in 'Matrix' methods specified for export, but none defined: BIC,
anova, coef, confint, deviance, fitted, fixef, formula, head, lmer, logLik,
mcmcsamp, plot,
2004 Aug 06
4
integerization
Hi there.
Just a little status update how that integerization is coming along.
I am trying to limit myself to 32 bit arithmetics. That means
not using any __int64 or long long datatypes at any point.
I have now replaced all steps up to including the estimation of
the LPC filter coefficients with integer code. That is about a
quarter of the total work completed, I would say.
One problem that i
2004 Oct 19
3
matrix of eigenvalues
I thought that the function
eigen(A)
will return a matrix with eigenvectors that are independent of each
other (thus forming a base and the matrix being invertible). This
seems not to be the case in the following example
A=matrix(c(1,2,0,1),nrow=2,byrow=T)
eigen(A) ->ev
solve(ev$vectors)
note that I try to get the upper triangular form with eigenvalues on
the diagonal and (possibly) 1 just
2006 Feb 08
3
FW: [0AB-0B7CC3DA-E2A7] RE: I appear to be attacking others
Im assuming, that because I never filled out a support ticket with these
people that someone else has done so using my email address. Anyone else
experiencing anything like this? Or is this normal from the CentOS mailing
list?
The topic in the email is a topic ive responded to on the list, but have not
visited any website to fill in any support requests... If someone is using
my email address
2018 Feb 08
2
georeplication over ssh.
That makes for an interesting problem.
I cannot open port 24007 to allow RPC access.
On 02/07/2018 11:29 PM, Kotresh Hiremath Ravishankar wrote:
> Hi Alvin,
>
> Yes, geo-replication sync happens via SSH. Ther server port 24007 is
> of glusterd.
> glusterd will be listening in this port and all volume management
> communication
> happens via RPC.
>
> Thanks,
>
2018 Feb 08
0
georeplication over ssh.
Ccing glusterd team for information
On Thu, Feb 8, 2018 at 10:02 AM, Alvin Starr <alvin at netvel.net> wrote:
> That makes for an interesting problem.
>
> I cannot open port 24007 to allow RPC access.
>
> On 02/07/2018 11:29 PM, Kotresh Hiremath Ravishankar wrote:
>
> Hi Alvin,
>
> Yes, geo-replication sync happens via SSH. Ther server port 24007 is of
>
2008 Sep 13
3
RCov / RSpec segfaults on Ubuntu
Hi all,
I appreciate that this is not an RSpec question, but I wondered if
anyone out there can offer some pointers. We''re using the latest
versions of RSpec and RCov, and ruby --version says this (on the
Ubuntu build server):
ruby 1.8.6 (2008-07-17 patchlevel 279) [x86_64-linux]
We''re getting intermittent (yes, intermittent!) segfaults from the
build when running
2018 Feb 07
2
georeplication over ssh.
I am running gluster 3.8.9 and trying to setup a geo-replicated volume
over ssh,
It looks like the volume create command is trying to directly access the
server over port 24007.
The docs imply that all communications are over ssh.
What am I missing?
--
Alvin Starr || land: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
alvin at netvel.net
2016 Feb 08
3
KVM
> If you run top what are you seeing on the %Cpu(s) line?
%20
On Mon, Feb 8, 2016 at 9:30 PM, Alvin Starr <alvin at netvel.net> wrote:
> Slow disks will show up as higher I/Owait times.
> If your seeing 99% cpu usage then your likely looking at some other problem.
>
> If you run top what are you seeing on the %Cpu(s) line?
>
>
> On 02/08/2016 02:20 PM, Gokan Atmaca
2018 Feb 08
0
georeplication over ssh.
Hi Alvin,
Yes, geo-replication sync happens via SSH. Ther server port 24007 is of
glusterd.
glusterd will be listening in this port and all volume management
communication
happens via RPC.
Thanks,
Kotresh HR
On Wed, Feb 7, 2018 at 8:29 PM, Alvin Starr <alvin at netvel.net> wrote:
> I am running gluster 3.8.9 and trying to setup a geo-replicated volume
> over ssh,
>
> It looks
2004 Nov 16
5
openssh porting
Hi All,
I want port the openssh on an embedded system based on
powerPC. Is there any document that can guide me to
start?
Thanks in advance,
Mike Zheng
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2005 Apr 01
11
I want to blog!
This isn''t Rails or Ruby related, but I just need some advice and
thought I''d ask the bright individuals here. I want to start my own
blog but I''m not sure where to begin. I don''t want to get a blogger
account because I want to have my own domain. Blogger also doesn''t
have many features. My hosting service is 1AND1 so it supports php,
cgi and mysql.
2006 Dec 14
5
Is there a way to make backgroundrb 0.2.1 fail silently on win32?
After upgrading to backgroundrb 0.2.x, Rails barfs lstat errors left and
right when using the console or webrick or mongrel on win32. We run our
site on a Linux server, so I''m not trying to get backgroundrb to work on a
win32 machine. I just want to quietly stop loading itself if it detects
that it''s on a win32 machine so that the rest of Rails can continue to load.
Most of
2014 Oct 31
2
Re: reboot problem with libxl
I was sort of hoping that is was something simple like setting the
"do_the_right_thing" flag.
The libvirtd kicks out
2014-10-31 11:58:57.111+0000: 8741: error : virRegisterNetworkDriver:549
: driver in virRegisterNetworkDriver must not be NULL
2014-10-31 11:59:29.379+0000: 8840: error : virRegisterNetworkDriver:549
: driver in virRegisterNetworkDriver must not be NULL
2014-10-31
2017 Mar 20
2
grub-bootxen.sh
This is not abit issue just a minor annoyance.
I use Foreman to provision my systems and to keep control I remove all
the default *.repo files andkeep away from installing more *.repo files
so I can control the content via the foreman(katello) provided redhat.repo.
I would argue that the *-release-*.rpm should not contain any setup
code but just the stuff in /etc/yum.repos.d.
--
Alvin