Ashley Moran wrote:
> Maybe it's worth doing a quick survey of everyone here that uses
> classic/cucumber stories - how *do* you structure your story/feature
> directory?
I'd have to *vote* for the current way cucumber lays out the
directoroy structure. However, I am happy to change my ways if the
On Wed, Sep 24, 2008 at 5:59 PM, Carlos Rafael Belizón Ibáñez
<[EMAIL PROTECTED]> wrote:
> I'm really need your help guys to understand the philosophy of BDD. This
> is a par of my Final Career Project.
Here's a short tutorial to get you started.
http://blog.davidchelimsky.net/articles/2007/05/14
I'm really need your help guys to understand the philosophy of BDD. This
is a par of my Final Career Project.
Thanks ;).
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Wed, Sep 24, 2008 at 9:23 AM, Martin Streicher <
[EMAIL PROTECTED]> wrote:
>
> I have to persist some data in the database to test the interactions
> between two of my models. One model has a serial number attribute that is
> unique, so it must be entered once and only once.
>
> rake spec delet
On Wed, Sep 24, 2008 at 9:43 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> I'd like to know: in a nutshell what's the difference between Webrat and
> Cucumber?
>
They do completely different things.
Webrat is a library that allows you to interact with a Rails web app
using a high level API simi
On Wed, Sep 24, 2008 at 2:43 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> I'd like to know: in a nutshell what's the difference between Webrat and
> Cucumber?
>
> I saw that in RSpec 1.1.5, Story Runner will be replaced by Cucumber, so
> isn't learning Cucumber compulsory?
No you didn't. You sa
They're separate - Cucumber parallels RSpec Story Runner and replaces that,
not WebRat.
On Wed, Sep 24, 2008 at 12:43 PM, Fernando Perez <[EMAIL PROTECTED]>wrote:
> I'd like to know: in a nutshell what's the difference between Webrat and
> Cucumber?
>
> I saw that in RSpec 1.1.5, Story Runner wil
I'd like to know: in a nutshell what's the difference between Webrat and
Cucumber?
I saw that in RSpec 1.1.5, Story Runner will be replaced by Cucumber, so
isn't learning Cucumber compulsory?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users m
Sorry, I didn't realize these were Zentest issues. Thank's for your tip
by the way, now committing to Hg doesn't make autotest run.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mai
On Wed, Sep 24, 2008 at 11:46 AM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have found 2 troubles with rspec, it is currently running the test
> suites in the following cases:
RSpec doesn't automatically run your examples for you. Autotest does.
> 1) when I only edit comments in the f
Hi,
I have found 2 troubles with rspec, it is currently running the test
suites in the following cases which is highly annoying:
1) when I only edit comments in the files.
2) when I commit changes to my mercurial repository.
Is there a way to fix these two issues?
--
Posted via http://www.rub
On Wed, Sep 24, 2008 at 11:29 AM, aidy lewis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In the Story Runner I was using hashes as comments. However, I am
> getting a parse error when using cucumber.
>
> What do others do?
It's not implemented yet in cucumber:
http://rspec.lighthouseapp.com/projects/162
Hi,
In the Story Runner I was using hashes as comments. However, I am
getting a parse error when using cucumber.
What do others do?
Aidy
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I have to persist some data in the database to test the interactions
between two of my models. One model has a serial number attribute that
is unique, so it must be entered once and only once.
rake spec deletes all the data, allowing my tests to pass. . Running
rspec under TextMate produc
El mié, 24-09-2008 a las 09:22 -0500, David Chelimsky escribió:
> On Wed, Sep 24, 2008 at 9:21 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> > On 24 Sep 2008, at 14:38, David Chelimsky wrote:
> >
> >> On Wed, Sep 24, 2008 at 8:23 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> >>>
> >>> On 24 Sep 2008, a
On Wed, Sep 24, 2008 at 9:21 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> On 24 Sep 2008, at 14:38, David Chelimsky wrote:
>
>> On Wed, Sep 24, 2008 at 8:23 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
>>>
>>> On 24 Sep 2008, at 13:35, Carlos Rafael Belizón Ibáñez wrote:
>>>
If you create a mock o
On 24 Sep 2008, at 14:38, David Chelimsky wrote:
On Wed, Sep 24, 2008 at 8:23 AM, Matt Wynne <[EMAIL PROTECTED]>
wrote:
On 24 Sep 2008, at 13:35, Carlos Rafael Belizón Ibáñez wrote:
If you create a mock object using mock_model(), or mock(), you
have to stub
or mock absolutely all the intera
On Sep 24, 2008, at 1:31 AM, Bryan Helmkamp wrote:
On Mon, Sep 22, 2008 at 9:57 PM, Scott Taylor
<[EMAIL PROTECTED]> wrote:
Let me know if you come up with something - I'd be interested in
contributing to such a project.
I started working on a project I'm calling Testjour to solve this at
ht
On Wed, Sep 24, 2008 at 8:23 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> On 24 Sep 2008, at 13:35, Carlos Rafael Belizón Ibáñez wrote:
>
>> Hi, I have one problem testing one method to learn rSpec. This is the
>> example
>>
>> #foo.rb
>>
>> class Foo < ActiveRecord::Base
>> has_one :bar
>>
>> def
On 24 Sep 2008, at 13:35, Carlos Rafael Belizón Ibáñez wrote:
Hi, I have one problem testing one method to learn rSpec. This is the
example
#foo.rb
class Foo < ActiveRecord::Base
has_one :bar
def foo
@bar.bar -= - 1
end
end
#bar.rb
class Bar < ActiveRecord::Base
end
#foo_spec.rb
On Wed, Aug 27, 2008 at 9:56 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> No, I don't get any output from that, or by using the spec command.
> Nothing got overwritten.
Joe - trying to get caught up w/ my mail :)
Did you ever get this resolved?
>
> Joe
>
> On Mon, Aug 25, 2008 at 4:44 PM, Matt W
Hi, I have one problem testing one method to learn rSpec. This is the
example
#foo.rb
class Foo < ActiveRecord::Base
has_one :bar
def foo
@bar.bar -= - 1
end
end
#bar.rb
class Bar < ActiveRecord::Base
end
#foo_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/../spec_help
On 24.9.2008, at 14.07, Fernando Perez wrote:
Hi jarkko,
I get the following error message:
---
`load_environment': undefined method `default_url_options' for
ActionController::Base:Class (NoMethodError)
---
From this
ticket:http://rails.lighthouseapp.com/projects/8994/tickets/22-default_u
Hi jarkko,
I get the following error message:
---
`load_environment': undefined method `default_url_options' for
ActionController::Base:Class (NoMethodError)
---
>From this
ticket:http://rails.lighthouseapp.com/projects/8994/tickets/22-default_url_options-is-being-ignored-by-named-route-optimi
On 23 Sep 2008, at 17:11, Ben Mabey wrote:
Matt Wynne wrote:
So we've got a pretty decent number of specs now, and despite my best
efforts, AR is just forcing us down the path of having to use
database
interaction for some of the model specs.
To turn my real database on for individual examp
On 24.9.2008, at 12.51, Fernando Perez wrote:
Hi,
My application relies on request.domain for doing its job. The
problem I
am encountering, is that when running tests, request.domain returns
"test.host", how can I change that so that it returns "mysite.com"?
Set this somewhere in your test
On Wed, Sep 24, 2008 at 10:30 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> Is there any way currently to list out the step matchers that were never
> used when you run a set of features?
> This would help me keep our step files tidy.
> If not, some pointers to how I might write such a thing would be
Hi,
My application relies on request.domain for doing its job. The problem I
am encountering, is that when running tests, request.domain returns
"test.host", how can I change that so that it returns "mysite.com"?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
__
Is there any way currently to list out the step matchers that were
never used when you run a set of features?
This would help me keep our step files tidy.
If not, some pointers to how I might write such a thing would be cool :)
cheers,
Matt
http://blog.mattwynne.net
http://songkick.com
On Wed, Sep 24, 2008 at 7:31 AM, Bryan Helmkamp <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 22, 2008 at 9:57 PM, Scott Taylor
> <[EMAIL PROTECTED]> wrote:
>> Let me know if you come up with something - I'd be interested in
>> contributing to such a project.
>
> I started working on a project I'm calli
Thank you very much for ./script/autospec, it works perfectly now.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
31 matches
Mail list logo