I think that I don't understand what you mean by that exactly. I mean,
I patched the should and should_not methods in moule
Subject::ExampleMethods themselves, which means that this changes only
behaviour of subject itself e.g. it is already part of RSpec and don't
see how it would break matchers o
Cucumber is awesome and destined to rule the world. As that starts to
happen, has there been any thought of a mechanism for the community to
build a library of common, generally useful steps that can be used
across projects? I've got stuff that I use for myself at:
http://github.com/mdoel
On Thu, May 7, 2009 at 1:34 PM, Jarmo Pertman wrote:
> Okay, I fiddled around a little and made this solution:
> module Spec
> module Example
> module Subject
> module ExampleMethods
>
> def should(matcher=nil)
> if matcher
> self == subject ?
> Spec::Expectatio
That did the trick!
Thank You!
On Thu, May 7, 2009 at 4:33 PM, Matt Wynne wrote:
>
> On 7 May 2009, at 21:28, keith shaw wrote:
>
> Hey All,
>>
>> I am trying to set up cucumber to use the multiline step argument. I have
>> my test posted here : http://gist.github.com/108328.
>>
>
> You need
On Thu, May 7, 2009 at 11:14 AM, juuuser wrote:
>
> I just upgraded RSpec and noticed that some of my specs started to fail and
> it is caused by the 1.1.2 update where implicit receiver for should is
> introduced.
>
> Here is one sample example group, which works with older versions naturally.
>
> On 7 May 2009, at 21:28, keith shaw wrote:
>
> Hey All,
>>
>> I am trying to set up cucumber to use the multiline step argument. I have
>> my test posted here : http://gist.github.com/108328.
>>
>
> You need to use 'Scenario Outline', not 'Scenario' if you're using an
> Examples table. I think
On 7 May 2009, at 21:28, keith shaw wrote:
Hey All,
I am trying to set up cucumber to use the multiline step argument.
I have my test posted here : http://gist.github.com/108328.
You need to use 'Scenario Outline', not 'Scenario' if you're using an
Examples table. I think that's the pro
Okay, I fiddled around a little and made this solution:
module Spec
module Example
module Subject
module ExampleMethods
def should(matcher=nil)
if matcher
self == subject ?
Spec::Expectations::PositiveExpectationHandler.handle_matcher(self,
matcher) : subj
Hey All,
I am trying to set up cucumber to use the multiline step argument. I have
my test posted here : http://gist.github.com/108328. I am currently using
cucumber version 0.2.3. When I run the test the browser opens for a split
second and I receive the following error :
/Library/Ruby/Gems/1
On May 7, 2009, at 7:32 AM, jevado wrote:
Hi All,
I'm busy experimenting with RSpec and encountered a small issue with
the scaffolding.
As soon as I chooce mocha as my mocking framework in the spec helper
the specs created with rspec_scaffold fail. Is this a bug or do the
rspec_generators onl
On 07/05/2009, at 8:02 PM, Julian Leviston wrote:
Hey all,
Has anyone else had any issues with trying to get APPLICATION code
debugging when using cucumber, selenium & webrat?
I can debug steps just fine, but debugs in application code get
skipped over under selenium for some reason.
I
>> So let me get this right,
>>
>> you agreed with Aslak that you shouldn't top post.
>>
>> by top posting
>>
> lol.. Yes. :) Sarcasm somethings doesn't come across well over email
> I suppose.
Not only that, he did it in so it was impossible for
me to see whether it was top or bottom
On Thu, May 7, 2009 at 5:39 AM, Julian Leviston wrote:
> Hi,
>
> We're using Rails 2.3.2, and debugger doesn't seem to work in
> cucumber/webrat running selenium mode. Has anyone else had this issue?
>
> It seems to be skipping the debugger methods
Rails noops the debugger method by default with
Hi all,
Sorry if this get's posted several times but I got a message that my
previous post wasn't allowed because I'm not a member. I think I am
now though.
The problem I have is fairly simple. I have some plugins who use rspec
and mocha and I want to make use of the rspec_scaffold generator.
Unf
I just upgraded RSpec and noticed that some of my specs started to fail and
it is caused by the 1.1.2 update where implicit receiver for should is
introduced.
Here is one sample example group, which works with older versions naturally.
describe "example group" do
it "example" do
I just upgraded RSpec and noticed that some of my specs started to
fail and it is caused by the 1.1.2 update where implicit receiver for
should is introduced.
Here is one sample example group, which works with older versions
naturally.
describe "example group" do
it "example" do
Alright, I'm trying to get up to speed with using Rspec, Webrat,
Mechanize and Cucumber to test a non rails application.
The RSpec Matchers (I think) seem to not be working as expected. When
I run my feature, it says the world cannot find the method "contain"
I have the following gems installed:
Hi All,
I have a question about the rspec_scaffold and if it's compatible with
other mocking frameworks.
I just created a blank application and a scaffold of a very basic
model. The specs run fine untill I choose to use mocha in the
spec_helper.
Can somebody please tell me if this is ment to be a
Hi All,
I'm busy experimenting with RSpec and encountered a small issue with
the scaffolding.
As soon as I chooce mocha as my mocking framework in the spec helper
the specs created with rspec_scaffold fail. Is this a bug or do the
rspec_generators only work with the default mocking framework ?
I'
Hi
Thanks for information.
It helped me a lot.
bascically using cucumber framework(using stdoutput) i want to capture
Failed testcase along with log and passed testcasenames.
Is there any plugin supported by cucumber ?
atleast to generated xml of html or text log for passed and failed
testcase.
> Tried this out using your github repository. Can confirm this fixes
> our bug - looking forward to next gem release
>
Thanks for confirming Andrew
Aslak
>
> Thanks
>
> Andrew
>
> 2009/5/7 Andrew Premdas :
> > Thanks Aslak, I'll try this out when I get to work.
> >
> > Andrew
> >
> > 2009/5/6
Hi,
We're using Rails 2.3.2, and debugger doesn't seem to work in cucumber/
webrat running selenium mode. Has anyone else had this issue?
It seems to be skipping the debugger methods
Julian.
___
rspec-users mailing list
rspec-users@rubyforge.org
htt
On 7 May 2009, at 11:02, Julian Leviston wrote:
Hey all,
Has anyone else had any issues with trying to get APPLICATION code
debugging when using cucumber, selenium & webrat?
I can debug steps just fine, but debugs in application code get
skipped over under selenium for some reason.
Is
Hey all,
Has anyone else had any issues with trying to get APPLICATION code
debugging when using cucumber, selenium & webrat?
I can debug steps just fine, but debugs in application code get
skipped over under selenium for some reason.
Is this usual?
Julian.
__
Tried this out using your github repository. Can confirm this fixes
our bug - looking forward to next gem release
Thanks
Andrew
2009/5/7 Andrew Premdas :
> Thanks Aslak, I'll try this out when I get to work.
>
> Andrew
>
> 2009/5/6 aslak hellesoy
>>
>>
>> On Wed, May 6, 2009 at 9:20 AM, Andrew
25 matches
Mail list logo