Autotest monitors changes in app/models. How can I get autotest to
monitor changes in lib? So that whenever something changes in lib or
specs/lib, it runs the appropriate spec?
Joe
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge
On Mar 28, 2008, at 11:01 AM, David Chelimsky wrote:
> Hi all,
>
> Warning - this is a request for money to help do something nice for
> someone. If this offends you in any way, please stop reading now and
> just delete this email.
>
> Steven Baker, the guy who actually wrote RSpec to begin with
On Mar 28, 2008, at 2:35 PM, David Beckwith wrote:
> I guess I could just try it, but does spec_server work with
> autotest too?
>
> ie.
> ruby script/spec_server &
> autotest
>
Sure.
Autotest is a pretty stupid program (and I mean that in a good way).
All it does is periodically run a sp
Awesome. Thank you.
David :)
On Fri, Mar 28, 2008 at 11:32 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 3:25 PM, David Beckwith <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > How can I mock the "go" method of class B so that it returns the
> > string "fudge" in this si
http://atomicobjectrb.rubyforge.org/injection/
Zach
On Fri, Mar 28, 2008 at 2:17 PM, aslak hellesoy
<[EMAIL PROTECTED]> wrote:
>
> On Fri, Mar 28, 2008 at 8:12 PM, Pat Maddox <[EMAIL PROTECTED]> wrote:
> > On Fri, Mar 28, 2008 at 11:32 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> > > On Fri, M
On Fri, Mar 28, 2008 at 8:12 PM, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 11:32 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> > On Fri, Mar 28, 2008 at 3:25 PM, David Beckwith <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > How can I mock the "go" method of class B so
On Fri, Mar 28, 2008 at 11:32 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 3:25 PM, David Beckwith <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > How can I mock the "go" method of class B so that it returns the
> > string "fudge" in this situation?
> >
> > class A
> >
On Mar 28, 2008, at 1:46 PM, David Chelimsky wrote:
> On Fri, Mar 28, 2008 at 1:38 PM, Chuck Remes
> <[EMAIL PROTECTED]> wrote:
>> I'm trying to use a mock to return a hash so that #each_pair can
>> process it. I can't get it to work. Whatever I return to #each_pair
>> is
>> ignored and the bl
On Fri, Mar 28, 2008 at 1:38 PM, Chuck Remes <[EMAIL PROTECTED]> wrote:
> I'm trying to use a mock to return a hash so that #each_pair can
> process it. I can't get it to work. Whatever I return to #each_pair is
> ignored and the block never gets executed. Here's an example
> illustrating the pr
I guess I could just try it, but does spec_server work with autotest too?
ie.
ruby script/spec_server &
autotest
?
On Wed, Mar 12, 2008 at 9:36 PM, Scott Taylor
<[EMAIL PROTECTED]> wrote:
>
> On Mar 13, 2008, at 12:17 AM, Mikel Lindsaar wrote:
>
> > I have looked through the docs, looked at
On Fri, Mar 28, 2008 at 3:25 PM, David Beckwith <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I mock the "go" method of class B so that it returns the
> string "fudge" in this situation?
>
> class A
> private
> def start
> @b = B.new
> end
> end
>
> class B
> def go
> puts "This
Hi,
How can I mock the "go" method of class B so that it returns the
string "fudge" in this situation?
class A
private
def start
@b = B.new
end
end
class B
def go
puts "This is fun."
end
end
Also, is it possible to do the mocha-like any_instance thing with RSpec?
Thank you,
Dav
It ends up comparing nil to real_hash. This happens because the
#result accessor never gets initialized due to the block never getting
executed.
cr
On Mar 28, 2008, at 12:47 PM, George Anderson wrote:
> What's the output (or error?) you're getting?
>
> /g
>
> On Fri, Mar 28, 2008 at 1:38 PM,
What's the output (or error?) you're getting?
/g
On Fri, Mar 28, 2008 at 1:38 PM, Chuck Remes <[EMAIL PROTECTED]> wrote:
> I'm trying to use a mock to return a hash so that #each_pair can
> process it. I can't get it to work. Whatever I return to #each_pair is
> ignored and the block never gets
I'm trying to use a mock to return a hash so that #each_pair can
process it. I can't get it to work. Whatever I return to #each_pair is
ignored and the block never gets executed. Here's an example
illustrating the problem.
require File.join(File.dirname(__FILE__), %w[spec_helper])
class MyE
Found this: if I change the other steps to
And a user called "Mr Matching Username" with username "
[EMAIL PROTECTED]" of typex END_USER and status APPROVED in
organisation "My Infant School"
And a user called "Mrs Matching SecondaryEmail" with secondary email "
[EMAIL PROTECTED]" of typex EN
Hi
I have three steps like this:
Given 'a user called "$name" of type $user_type and status $user_state in
organisation "$organisation_name"' do |name, user_type, user_state,
organisation_name|
$runs ||= 1
puts "MOO #{$runs}"
$runs += 1
# ...
end
Given 'a user called "$name
Hi all,
Warning - this is a request for money to help do something nice for
someone. If this offends you in any way, please stop reading now and
just delete this email.
Steven Baker, the guy who actually wrote RSpec to begin with (just
think of a world in which the only BDD frameworks were in C++
18 matches
Mail list logo