http://git.or.cz/course/svn.html
and also search google for "git for svn users"
Zach
On Mon, Mar 17, 2008 at 5:22 PM, Ashley Moran
<[EMAIL PROTECTED]> wrote:
>
>
>
> On 17 Mar 2008, at 18:41, Kyle Hargraves wrote:
> We discussed this in a ticket on lighthouse, and I ended up writing a
> workalik
On 17 Mar 2008, at 18:41, Kyle Hargraves wrote:
We discussed this in a ticket on lighthouse, and I ended up writing a
workalike that's sitting atop hpricot. It's not quite identical, but
generally close enough and so far does everything I've needed:
http://github.com/pd/rspec_hpricot_matchers
On Mon, Mar 17, 2008 at 10:04 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> Issue is solved!!!
> I had a require 'test/unit' in my spec_helper.rb. I removed it and it
> works now.
Good. That makes sense. Two competing exit hooks or something. I bet
your Test::Unit output went away too.
Aslak
Issue is solved!!!
I had a require 'test/unit' in my spec_helper.rb. I removed it and it
works now.
Am 17.03.2008 um 20:08 schrieb Tobias Torkler:
> That´s right, sorry! There was a call and it will be fixed in RC3.
> But you can checkout the sources (http://svn.codehaus.org/jruby/trunk/jruby/
On 3/16/08, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 14, 2008 at 8:12 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
> > 2) Having figured that out and moving on, I now have another
> > problem, which is what's the best way to clean up the database so that
> > Scenario A can
On Mon, Mar 17, 2008 at 2:50 PM, nzook <[EMAIL PROTECTED]> wrote:
>
> 'cause it doesn't...
>
> This is an issue for nested custom matchers, ie:
>
> module CRFT
> class RFT
> def initialize(args)
> blah
> end
> def matches?(target)
> "Yeah, baby!"
> end
> end
> d
'cause it doesn't...
This is an issue for nested custom matchers, ie:
module CRFT
class RFT
def initialize(args)
blah
end
def matches?(target)
"Yeah, baby!"
end
end
def r_f_t(args)
RFT.new(args)
end
end
module CRLT
class RLT
include CRFT
def ini
That´s right, sorry! There was a call and it will be fixed in RC3.
But you can checkout the sources (http://svn.codehaus.org/jruby/trunk/jruby/
) and build the jruby.jar via ant.
It will work then!
I know it´s complicated, but I need this for my diploma thesis and I
appreciate your help!
Am 1
On Mon, Mar 17, 2008 at 10:44 AM, Ashley Moran
<[EMAIL PROTECTED]> wrote:
> On 17/03/2008, Ashley Moran <[EMAIL PROTECTED]> wrote:
> > Has anyone managed this?
> >
>
> Cracked it. Really ugly, but my stories/helper.rb looks like this
>
> ENV["RAILS_ENV"] = "test_integration"
> require File.exp
On Mon, Mar 17, 2008 at 5:47 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> 1. Download http://eigenclass.org/static/rcov/rcov-0.8.1.2.tar.gz and
> extract the archive
> 2. jruby -S setup.rb all --without-ext
> 3. Change shebang of /bin/rcov to #!/usr/bin/env jruby
> 4. rcov script.rb should w
1. Download http://eigenclass.org/static/rcov/rcov-0.8.1.2.tar.gz and
extract the archive
2. jruby -S setup.rb all --without-ext
3. Change shebang of /bin/rcov to #!/usr/bin/env jruby
4. rcov script.rb should work now (warning appears, that no extensions
are installed)
Am 17.03.2008 um 17:37
On Mon, Mar 17, 2008 at 4:23 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> Ok, so the question is then why I don´t get an RCov report? Sorry for
> the "test run". Better call it an RSpec run?
>
RSpec run is much clearer, thanks :-)
I'm looking into the problem, but I'm struggling to install RC
Thanks Chris. This is a really nice description of how I think of BDD. I
call it "we should fix that" after Liz Keogh's blog post:
http://sirenian.livejournal.com/42871.html
(Check the comments for the myriad ways you can misinterpret this!)
Cheers,
Dan
On 04/03/2008, Chris Parsons <[EMAIL PROTE
On 17/03/2008, Ashley Moran <[EMAIL PROTECTED]> wrote:
>
> Has anyone managed this?
>
Cracked it. Really ugly, but my stories/helper.rb looks like this
ENV["RAILS_ENV"] = "test_integration"
require File.expand_path(File.dirname(__FILE__) +
"/../config/environment")
# We don't want to use t
Ok, so the question is then why I don´t get an RCov report? Sorry for
the "test run". Better call it an RSpec run?
Am 17.03.2008 um 16:10 schrieb aslak hellesoy:
> On Mon, Mar 17, 2008 at 3:50 PM, Tobias Torkler <[EMAIL PROTECTED]
> > wrote:
>> This is not Test::Unit output!
>
> The following
On Mon, Mar 17, 2008 at 3:50 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> This is not Test::Unit output!
The following text - taken from your first email - is Test::Unit
output. It is not RCov or RSpec output.
8<
Loaded suite /Users/tobias/bin/JRuby.framework/Current/bi
This is not Test::Unit output!
As you can see I created a Rake task to run my specs and tried to
integrate rcov as described on http://rspec.info/documentation/tools/rcov.html
RSpec works as expected (187 examples, 0 failures, 10 pending) but I
am missing the RCov report.
Am 17.03.2008 um 15:
Hi
Google has not helped me here. I'm looking for a way to use the have_tag
assert_select wrapper outside RSpec on Rails (but in a Rails project) so I
can use it to check text strings.
Has anyone managed this?
Thanks
Ashley
___
rspec-users mailing lis
On Mon, Mar 17, 2008 at 1:27 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using JRuby (trunk) and wrote a bunch of specifications for my
> code. Everything works fine so far.
> Now I am trying to integrate RCov in my test run. I have installed
> RCov without the C extensions. I
On Mon, Mar 17, 2008 at 9:59 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
> On 17-mrt-2008, at 14:51, Zach Dennis wrote:
>
> > I have been putting helper methods inside of my own modules and then
> > including them in RSpec::Story::World, which included in the context
> > that stories are de
On 17-mrt-2008, at 15:01, Ashley Moran wrote:
> On 17/03/2008, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
> Hmm, all of a sudden this thread is spiraling away from my original
> question :). Which is good of course :).
> I've made some inline comments.
>
> I can see how this would work for you, bu
On 17/03/2008, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
> Hmm, all of a sudden this thread is spiraling away from my original
> question :). Which is good of course :).
> I've made some inline comments.
>
> I can see how this would work for you, but I actually want something
> more abstracted.
>
On 17-mrt-2008, at 14:51, Zach Dennis wrote:
> I have been putting helper methods inside of my own modules and then
> including them in RSpec::Story::World, which included in the context
> that stories are defined and run in (David, feel free to correct me if
> this is not 100% accurate).
>
Hmm,
Hmm, all of a sudden this thread is spiraling away from my original
question :). Which is good of course :).
I've made some inline comments.
On 17-mrt-2008, at 13:12, David Chelimsky wrote:
> On Mon, Mar 17, 2008 at 7:05 AM, Ashley Moran
> <[EMAIL PROTECTED]> wrote:
>> On 13/03/2008, Bart Zonne
I have been putting helper methods inside of my own modules and then
including them in RSpec::Story::World, which included in the context
that stories are defined and run in (David, feel free to correct me if
this is not 100% accurate).
module Spec::Story::World
def foo
# this is now availa
On 17/03/2008, Corey Haines <[EMAIL PROTECTED]> wrote:
>
> As an interim solution, we added this as helper file in the stories root.
> The key was figuring out what to mixin to.
>
> class ActionController::Integration::Session
> # ...
> end
>
> -Corey
Pretty neat! Unfortunately I don't think
As an interim solution, we added this as helper file in the stories root.
The key was figuring out what to mixin to.
class ActionController::Integration::Session
def with_input(id)
with_tag('input[id=?]',id)
end
def with_label(text)
with_tag('label',text)
end
>
> I have mixed feelings about this. If you do build up a library of step
> groups, having explicit scoping like this can be a great benefit.
> Agreed it makes things less convenient otherwise.
Hi David
Not sure I follow. Do you mean explicit scoping as having to type
"steps_for(:login)."? I
Hi,
I am using JRuby (trunk) and wrote a bunch of specifications for my
code. Everything works fine so far.
Now I am trying to integrate RCov in my test run. I have installed
RCov without the C extensions. I tried it with a simple script and it
worked (pretty slow, but it doesn´t matter).
Bu
On Mon, Mar 17, 2008 at 7:05 AM, Ashley Moran
<[EMAIL PROTECTED]> wrote:
> On 13/03/2008, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
> > Hey list,
> >
> > I'm refactoring some much-used functionality into a common_steps step
> > group. Methods like this are in there:
>
>
> Hi Bart / list
>
> This
On 13/03/2008, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
> Hey list,
>
> I'm refactoring some much-used functionality into a common_steps step
> group. Methods like this are in there:
Hi Bart / list
This is not quite what you are thinking but I've noticed something strange
about steps_for. B
On Mon, Mar 17, 2008 at 6:28 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
>
> On 3/17/08, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > On Mon, Mar 17, 2008 at 5:53 AM, roberto belardo <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > > i'm learning rspec and i must admit i really love it.
> >
Wow, as expected this works. Thank you very much for
your help.
Do you think this approach for model callbacks specing
is right (apart from the number of expectations per
example)?
--- David Chelimsky <[EMAIL PROTECTED]> ha scritto:
> On Mon, Mar 17, 2008 at 5:53 AM, roberto belardo
> <[EMAIL PRO
On 3/17/08, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 17, 2008 at 5:53 AM, roberto belardo <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > i'm learning rspec and i must admit i really love it.
> > But at the time i started learning it, i already
> > developed my models classes and
On Mon, Mar 17, 2008 at 5:53 AM, roberto belardo <[EMAIL PROTECTED]> wrote:
> Hi all,
> i'm learning rspec and i must admit i really love it.
> But at the time i started learning it, i already
> developed my models classes and their callbacks.
>
> Now i'm trying to get a 100% coverage of my cod
Hi all,
i'm learning rspec and i must admit i really love it.
But at the time i started learning it, i already
developed my models classes and their callbacks.
Now i'm trying to get a 100% coverage of my code but i
cannot reach it because i do not understand how to
spec my callbacks.
Look at this
No replies? That doesn't happen very often :).
regards,
bartz
On 13-mrt-2008, at 14:13, Bart Zonneveld wrote:
> Hey list,
>
> I'm refactoring some much-used functionality into a common_steps step
> group. Methods like this are in there:
>
> steps_for :common do
>Given "a number of existing $
37 matches
Mail list logo