On Tue, Sep 21, 2010 at 10:46 PM, Amiruddin Nagri wrote:
>
> On Wed, Sep 22, 2010 at 12:54 AM, David Chelimsky
> wrote:
>>
>> On Sep 21, 2010, at 4:08 AM, Amiruddin Nagri wrote:
>>
>> I am working on a Rails 3 application. Recently bundler got an update for
>> rspec, which upgraded it to 22, (pre
On Wed, Sep 22, 2010 at 12:54 AM, David Chelimsky wrote:
>
> On Sep 21, 2010, at 4:08 AM, Amiruddin Nagri wrote:
>
> I am working on a Rails 3 application. Recently bundler got an update for
> rspec, which upgraded it to 22, (previously we were using beta 20).
>
> After the update we are unable to
> I'd prefer to be able to use Capybara matchers for
> everything in order to avoid the duplication of two very similar but
> slightly different APIs.
>
> Cheers,
> Wincent
Wincent pointed out my exact feelings on the matter (Probably in a
better way than I could have.)
But I'm willing to fol
Well, it's a very unexpected place to put… help! =D
--
LAILSON BANDEIRA
http://lailsonbandeira.com/
On Tue, Sep 21, 2010 at 10:09 PM, David Chelimsky wrote:
>
> On Sep 21, 2010, at 8:00 PM, Lailson Bandeira wrote:
>
> And I wanna know if is there a verbose mode of running my specs, listing
>> th
Look at this example for javascript pages: http://gist.github.com/518636.
I think you can do something like that.
--
LAILSON BANDEIRA
http://lailsonbandeira.com/
On Tue, Sep 21, 2010 at 10:45 AM, John Feminella wrote:
> I have some tests that need to load my application's seed data prior
> to r
On Sep 21, 2010, at 8:00 PM, Lailson Bandeira wrote:
> And I wanna know if is there a verbose mode of running my specs, listing
> their 'describes' and/or 'its'?
>
> You can use --format documentation to do this. Is there some place where all
> the options are documented, folks? (besides the c
On Sep 21, 2010, at 10:58 AM, Bruno Cardoso wrote:
> I'm getting this errors from this spec:
> http://pastie.org/private/lm9nrqnmhqobs1avf3skgw
>
> Failures:
> 1) Account Account should have a relation belongs to with customer
> Failure/Error: Unable to find matching line from backtrace
>
>
> And I wanna know if is there a verbose mode of running my specs, listing
> their 'describes' and/or 'its'?
You can use --format documentation to do this. Is there some place where all
the options are documented, folks? (besides the code =P)
--
LAILSON BANDEIRA
http://lailsonbandeira.com/
O
Hello,
Can anyone please help me with the following issue
I am running rspec-rails 1.3.2 with rails 2.3.9 on ruby 1.8.7
Unfortunately my tests don't execute at all after i updated these gems
although i followed the update insturctions. After some debugging i
found that the describes and examples
I'm getting this errors from this spec:
http://pastie.org/private/lm9nrqnmhqobs1avf3skgw
Failures:
1) Account Account should have a relation belongs to with customer
Failure/Error: Unable to find matching line from backtrace
can't convert nil into String
# D:\ruby\rubies\jruby-1.
I have some tests that need to load my application's seed data prior
to running, and others that don't. It's a well-defined set of
examples:
describe "needs seed data", :needs_data => true do
...
end
What can I put in my Rspec.configure { ... } block so that every test
which has ":
Hello everybody, in my app, (using rspec 2.0.0.beta22) I have
my .rspec file with "--colour" in it., I want to know if are there any
other options for this file? And I wanna know if is there a verbose
mode of running my specs, listing their 'describes' and/or 'its'?
Thanks!
___
On Sep 21, 2010, at 4:08 AM, Amiruddin Nagri wrote:
> I am working on a Rails 3 application. Recently bundler got an update for
> rspec, which upgraded it to 22, (previously we were using beta 20).
>
> After the update we are unable to run the old using 'rake spec:rcov', while
> running with
Ben Mabey wrote:
> On 9/21/10 6:51 AM, Gene Angelo wrote:
>> I think I understand basic Class testing, however, how do I test a
>> Module's behavior especially (in my case) where the Module will be used
>> as an extension primarily e.g. object.extend MyModule.
> One option is to extend an object in
El 21/09/2010, a las 13:55, David Chelimsky escribió:
> On Sep 21, 2010, at 4:57 AM, Lord Raiden wrote:
>
>> David Chelimsky wrote:
>
>> Reason I'm asking is I really want to write few view specs, (outside of
>> cucumber), and I would like not to use Webrat, to keep things clean.
>
> Why would
On 9/21/10 6:51 AM, Gene Angelo wrote:
I think I understand basic Class testing, however, how do I test a
Module's behavior especially (in my case) where the Module will be used
as an extension primarily e.g. object.extend MyModule.
One option is to extend an object in your spec like so:
descr
I think I understand basic Class testing, however, how do I test a
Module's behavior especially (in my case) where the Module will be used
as an extension primarily e.g. object.extend MyModule.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users ma
Pat Maddox wrote:
> search this page for "shared example groups"
> http://rspec.info/documentation/
thank you, exactly what I was looking for.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyf
On Sep 21, 2010, at 4:57 AM, Lord Raiden wrote:
> David Chelimsky wrote:
>> Two issues:
>>
>> 1. Capybara matchers do not support arbitrary strings, so they do not
>> work in view specs
>> 2. Even if they did, the capybara matcher would be has_css, not
>> has_selector
>
> Thanks for quick repl
On Sep 21, 2010, at 6:55 AM, David Chelimsky wrote:
> On Sep 21, 2010, at 4:57 AM, Lord Raiden wrote:
>
>> David Chelimsky wrote:
>>> Two issues:
>>>
>>> 1. Capybara matchers do not support arbitrary strings, so they do not
>>> work in view specs
>>> 2. Even if they did, the capybara matcher w
David Chelimsky wrote:
> Two issues:
>
> 1. Capybara matchers do not support arbitrary strings, so they do not
> work in view specs
> 2. Even if they did, the capybara matcher would be has_css, not
> has_selector
Thanks for quick reply. Sorry about my delay (I was sick and down).
I'm not an ex
search this page for "shared example groups" http://rspec.info/documentation/
On Sep 20, 2010, at 12:07 PM, Gene Angelo wrote:
> I assume spec tests be repeated for derived classes?
>
> Is there such a thing in rspec as deriving specs?
> --
> Posted via http://www.ruby-forum.com/.
> __
I am working on a Rails 3 application. Recently bundler got an update for
rspec, which upgraded it to 22, (previously we were using beta 20).
After the update we are unable to run the old using 'rake spec:rcov', while
running with 'rake spec' is running fine.
When you do rake spec it does not give
23 matches
Mail list logo