Hello,
I have a problem similar to one mentioned in this post.
I call a partial inside another partial.
_mother.haml contains:
render :partial => "children/child"
In mother_spec.rb file I am trying to stub the render call.
Here is a working version:
=
template.should_receive(:rende
Dear all,
I have a module ApiAccessControl which is included in all controllers
which deal with the API. It sees if the users is valid, logs etc etc.
I want to see if this module does what it is supposed to but I dont
want to test that in every single controller dealing with the API. So
I created
On 18 Mar 2009, at 12:03, Harm wrote:
Dear all,
I have a module ApiAccessControl which is included in all controllers
which deal with the API. It sees if the users is valid, logs etc etc.
I want to see if this module does what it is supposed to but I dont
want to test that in every single con
On Mar 18, 2009, at 5:03 AM, Harm wrote:
This works by the grace that my routes file has a fallback map.connect
':controller/:action/:id'. I never use that fallback only for this
particular test. Is there anyway to get rid of this entry in my
routes.rb?
map.connect ':controller/:action/:id' if
On Mar 17, 2009, at 11:37 PM, David Chelimsky wrote:
2009/3/18 Tom Meier :
With the above settings when our specs run (while on rails 2.3 and
rspec
1.2), the following error occurs :
undefined method `mock_model=' for #
The error says "mock_model=", which indicates that you're trying to
s
I'm happy to announce the release of Cucumber 0.2.0.
There are a some really exciting new features in this release. Some of the
ones I find most valuable are:
* tags
* better output
* autoformatting of features
* better i18n
* Ruby 1.9 support
* background
* guess mode
Full release notes are avai
2009/3/18 aslak hellesoy :
> I'm happy to announce the release of Cucumber 0.2.0.
>
> There are a some really exciting new features in this release. Some of the
> ones I find most valuable are:
> * tags
> * better output
> * autoformatting of features
> * better i18n
> * Ruby 1.9 support
> * backgr
Great! Is there section for the new hook on reporting? I used the old
reporting to customized some of our HTML reports and wonder if you
have the new hooks documented somewhere?
Also what is the rerun formatter?
Thanks
Emmanuel
On Mar 18, 2009, at 12:21 PM, David Chelimsky wrote:
2009/3
David Chelimsky wrote:
2009/3/18 aslak hellesoy :
I'm happy to announce the release of Cucumber 0.2.0.
There are a some really exciting new features in this release. Some of the
ones I find most valuable are:
* tags
* better output
* autoformatting of features
* better i18n
* Ruby 1.9 suppor
>
> Full release notes are available at
> http://github.com/aslakhellesoy/cucumber/blob/d0555e4ca8a133f020efefd5a755da04bde3f57d/History.txt
>
> (::) Aslak (::)
wow! amazing how much the cukes have accomplished,
keep on the good work
cheers,
joaquin
--
www.least-significant-bit.com
__
Is there a way to do that using some options? I had to override the
default reporting in 0.1.16 and prior.. But now with 0.2 the formatter
look different and was wondering if this is something already possilbe
or if I need to still create my custom report
Thanks
Emmanuel
__
On Wed, Mar 18, 2009 at 4:28 PM, Rick DeNatale wrote:
> I've got a simple ActionMailer::Base subclass:
> class InfoMailer < ActionMailer::Base
>
> def info(user, zip_name)
> recipients user.email
> subject "Requested Info"
> attachment(:content_type => "application/zip",
>
Hi,
If I do something like this:
before(:each) do
@test_class = Class.new do
blahblah
end
end
I will get one extra test shown:
MyTest
- test_class
Where did I go wrong for this?
Thanks
Yi
--
http://yiwenandsoftware.wordpress.com
Hey there Evgeny. My response is inline.
> I call a partial inside another partial.
> _mother.haml contains:
> render :partial => "children/child"
> In mother_spec.rb file I am trying to stub the render call.
> Here is a working version:
> =
> template.should_receive(:render)
>
I've just upgraded RSpec to 1.2 on a Rails 2.2.2 app.
rake features fails with the following error:
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:442:in `load_missing_constant': uninitialized constant
Spec::Ruby (NameError)
from /Library/Ruby/Gems/1.8/ge
I've got a simple ActionMailer::Base subclass:
class InfoMailer < ActionMailer::Base
def info(user, zip_name)
recipients user.email
subject "Requested Info"
attachment(:content_type => "application/zip",
:filename => zip_name,
:body => File.read(zip_
On Wed, Mar 18, 2009 at 3:54 PM, Matt Patterson
wrote:
> I've just upgraded RSpec to 1.2 on a Rails 2.2.2 app.
>
> rake features fails with the following error:
>
> /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:442:in
> `load_missing_constant': uninitialized co
On Wed, Mar 18, 2009 at 4:13 PM, Joseph Wilk wrote:
> David Chelimsky wrote:
>
>> 2009/3/18 aslak hellesoy :
>>
>>
>>> I'm happy to announce the release of Cucumber 0.2.0.
>>>
>>> There are a some really exciting new features in this release. Some of
>>> the
>>> ones I find most valuable are:
>>>
On Wed, Mar 18, 2009 at 4:35 PM, Nick Hoffman wrote:
> Hey there Evgeny. My response is inline.
>
>> I call a partial inside another partial.
>> _mother.haml contains:
>> render :partial => "children/child"
>
>> In mother_spec.rb file I am trying to stub the render call.
>> Here is a working versi
Hi,
Thanks for the assistance, I overlooked the obvious with the '=' in
the error... After reviewing the error i started a new project and
tried to replicate to show you the steps, but everything works as it
should (sorry - i should have completed that already before contacting
you). Af
On Wed, Mar 18, 2009 at 6:18 AM, Evgeny Bogdanov
wrote:
> Hello,
> I have a problem similar to one mentioned in this post.
> I call a partial inside another partial.
> _mother.haml contains:
> render :partial => "children/child"
>
> In mother_spec.rb file I am trying to stub the render call.
> Her
On 18 Mar 2009, at 21:07, David Chelimsky wrote:
On Wed, Mar 18, 2009 at 3:54 PM, Matt Patterson
wrote:
I've just upgraded RSpec to 1.2 on a Rails 2.2.2 app.
rake features fails with the following error:
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:442
22 matches
Mail list logo