Displaying 20 results from an estimated 200 matches similar to: "rspec groups?"
2008 Jan 27
8
Textmate RSpec Bundle ''it'' snippet
It seems to me that the RSpec bundle''s ''it'' snippet is in need of some
love. By default, a newly inserted spec passes. This seems odd as it
is misleading. It also makes it harder find what specs still need to
be completed if you return to an RSpec module after a break.
I propose that the ''it'' snippet is changed to the following:
it
2008 May 29
7
how to write spec for infinite loop?
Hi,
I''ve got trouble when describe infinite loop.
code snippet:
def start_loop
while true
data = self.server.handle_client
if data
self.manager.dispatch(data)
end
end
end
without the loop, it is easy to test the logic.
but how can I describe it to tell the developer ( me :-) ) that there
should be an infinite loop inside.
thanks.
Regards,
Peng
2008 May 10
4
Newbie: lambda do...end.should change(Model, :count).by(1). Doesn''t work
Hi to everyone,
I''m an RSpec, and BDD in general, newbie so in order to learn I have
chosen to use my personal website as a tesbed.
I''m having difficulties juggling with mocks, and in particula with the
following code.
Here''s the controller action:
def create
@album = Album.new(params[:album])
if @album.save
flash[:notice] = "album saved"
2012 Jul 13
4
[LLVMdev] adding new data types to llvm
Hello .
I would like to add new custom data type to llvm C parser, I use LLVM/Clang version 3.1.
Adding new type instructions from llvm.org site are out of date (http://llvm.org/docs/ExtendingLLVM.html#type).
Could you please provide me with guidance?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jul 24
4
[LLVMdev] loop detection
Hello .
I'm trying to implement FunctionPass for detecting loops in llvm IR.
How can I get <condition> for loop from llvm::Loop object.?
Is there any example?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120723/85e7f2f9/attachment.html>
2012 Jul 25
2
[LLVMdev] regarding opt -indvars
Hello .
opt -indvars pass does not generate canonical induction variable.
(NULL == loop->getCanonicalInductionVariable();)
PLEASE explain why? and how can I fix it?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120724/92a28ed5/attachment.html>
2012 Jul 23
1
[LLVMdev] llvm::LoopPass
Hi Edvard, _ZTIN4llvm8LoopPassE is "typeinfo for llvm::LoopPass". LLVM is
built without typeinfo, so you will need to build your pass with -fno-rtti.
Ciao, Duncan.
> I'm trying to implement LoopPass.
> Here is simple code :
>
> class LoopParser: public llvm::LoopPass
> {
> public:
> static char ID;
>
> public:
> virtual
2016 Aug 04
1
Fwd: RE: Query regarding LDAP
Hi All,
We currently have our AD on Windows Server 2008 setup to work with Samba
as a file share.
I noticed on our event logs in Windows that we are getting warnings
about a client performing LDAP binds without signing or using clear text
LDAP. After enabling the logging for LDAP i have found this to be our
Samba server performing these requests.
I know how to solve the issue so that our
2012 Jul 23
0
[LLVMdev] llvm::LoopPass
Hello .
I'm trying to implement LoopPass.
Here is simple code :
class LoopParser: public llvm::LoopPass
{
public:
static char ID;
public:
virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const
{
AU.addRequiredID(llvm::LoopSimplifyID);
AU.addPreservedID(llvm::LoopSimplifyID);
AU.addRequired<llvm::LoopInfo>();
}
2008 May 20
3
IRC bot for cc.rb?
Hi all,
Don''t suppose there''s an IRC bot I can use (or repurpose) for cc.rb
notifications?
Will.
2008 Oct 08
5
schema.dump chokes on RAW type
I haven''t seen anyone mention this yet.
The tail end of the migration process is a call to schema.dump. Our
primary keys are uuids and these choke schema.dump on both oracle and
postgres. The latter fails silently (skips three tables) while the
former complains about the RAW(16) in each of the three tables.
Anyone had a similar experience?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 09
5
RPM for postgresql 8-* for CentOS4?
Hi All,
is there an RPM for 4-1 for postgresql? I did a yum, and the latest is
only 7-4
Installing:
postgresql-server i386 7.4.8-1.RHEL4.1 base 3.0 M
and I need at least 8-*
Any ideas where to find an RPM for CentOS4-1?
Cheers.
Mark Sargent.
2006 Feb 09
3
wget File Too Long?
Hi All,
any way around this error below,
Cannot write to
2008 Jan 23
5
Changing rspec directory structure
I''d like to change the rspec directory structure from
/spec
/model
/controllers
etc
to
/spec
/unit
/models
/controllers
/lib
/functional
/models
/controllers
etc.
Basically the Jay Fields style of testing -- I want the unit tests to
be run all the time on a continuous integration server, but the
integration/functional and system tests to be run
2006 Jan 24
2
Forcing CentOS to load Ethernet Card
Hi All,
I changed ethernet card, and chose to retain the config for the previous
one, and now when booting, get a mac address is different igonoring, msg
or something to that effect, and upon booted, doing a ifconfig shows
nothing for the new card. What cmd do I issue, to make the OS see the
new card? Cheers.
Mark Sargent.
2006 Apr 10
3
Best Partitioning Tool?
Hi All,
which is the best tool for partitioning, as I forgot to bring in my copy
of PartitionMagic(DOH!!) and need to resize an NTFS partition today. I'm
using XP Pro at the moment. I wish to resize a 38GB partition, primary,
to 20GB and use the rest for a Linux Install(CentOS 4-3). Cheers.
Mark Sargent.
P.S. I can't use my normal account whilst at work, so subscribed from my
work
2006 Feb 09
2
Javaruntime RPM Issue
Hi All,
downloaded and installed the latest jre,
[root at localhost java]# rpm -iv jre-1_5_0_06-linux-i586.rpm
Preparing packages for installation...
jre-1.5.0_06-fcs
[root at localhost java]# ls
javarpm jre-1_5_0_06-linux-i586.rpm jre-1_5_0_06-linux-i586-rpm.bin
[root at localhost java]#
[root at localhost java]# whereis jre-1.5.0_06-fcs
jre-1.5:
[root at localhost java]# which
2008 Mar 14
2
Disabling a set of tests?
Hi all,
Part of the integration test suite involves running against a sandbox
on Paypal''s server.
Lately that server''s been acting flakely. It doesn''t fail all the
time, but enough to confuse people.
I made pending some tests that looked like they were repeat offenders,
but now I''m seeing the same thing appear elsewhere. Is there any way
to disable all the
2006 May 03
3
Can't Access Samba Running Linux Box From XP
Hi All,
I've just installed Samba on a Linux box, and can see the Windows box
attempting connections, but, when inputting the username/password, I
keep getting the same user/pass prompt window. What should I
troubleshoot for this? I gave the user/pass that is the same as the
account on the Linux box, which has permissions to view the shared
directory in /etc/samba/smb.conf. Cheers.
Mark
2005 Aug 04
4
Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
Hi!
Problem:
I can't hear what the people at Location B i saying, they hear me but I do
not hear them. They can call, I can call. Just no sound.
My current setup is:
Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <-> Internet
<-> Firewall/Nat <-> Softphone/hardphone(Location B)
I am having problems with sound, I have opened the