ot; and
"@timezone.stub!") then I don't get that error, but without fixed
times some of our tests fail due to the variable time.
Has anyone else run into this problem and come up with a solution to
getting a fixed time back from Time.zone.now?
David Schmidt
dav...@tower-mt.com
On Nov 4, 2008, at 1:53 PM, Pat Maddox wrote:
David Schmidt <[EMAIL PROTECTED]> writes:
In one of my controller tests I'm testing a method which uses
self.send() to do some pre-processing if that
private method name is defined:
# If this task requires some additional
quot;
Is there any way that I can stub out *just* the :send with "private
method" and leave the other one alone to execute?
Thank you,
David Schmidt
[EMAIL PROTECTED]
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
e bundle the window that opens when you run Command-R
should be titled "Run Examples". If it just says "Run" then the file
type probably isn't set to RSpec.
Hope that helps!
David Schmidt
On May 10, 2008, at 8:30 AM, Wayne Molina wrote:
Hello everyone, I'm new
On Mar 19, 2008, at 8:42 AM, Glenn Ford wrote:
> My primary concern when writing my specs that are to cover complicated
> features is that I do NOT want false confidence. If I write a spec,
> and it passes, I want that to mean it works in my app. When the spec
> goes green, my next step is to g
also have good coverage showing that they actually
believe in tests. So please look into Radiant, you'll find it most
helpful I think.
--- END OF EMAIL---
Thank you,
David Schmidt
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I'm currently working on some RSpec view tests and I'm having problems
with expect_render. Most of the expect_render's work fine, but in one
of my views I have:
<%= render :partial => "user_cloud", :locals => {:user =>
@featured_user} %>
I see that expect_render supports ":object" or ":col