Displaying 6 results from an estimated 6 matches for "mycongress".
Did you mean:
congress
2006 Oct 06
8
Expecting calls with two different parameters
...a method will be called
once with no paramaters, and a second time with a parameter? I''d be
tempted to shortcut and just do something like
foo.expects(:bar).times(2), but the value used as the parameter when
calling it the second time is very important.
Thoughts?
-Bryan
--
http://www.MyCongress.org/ -- coming soon
2006 Oct 17
4
Mocking the rendering of a Rails template
...is coming from. Logically,
it probably is coming from the any_instance magic, but in that case it
should be expecting the render_file call. Thoughts?
What am I doing wrong in the second case? Is there another way I
could mock this?
Any help would be greatly appreciated.
-Bryan
--
http://www.MyCongress.org/ -- coming soon
2006 May 20
1
Rails Day 2006 -- 24 hour programming contest on July 17th
...ies are judged, and cool prizes are awarded.
http://www.railsday2006.com/
Sponsoring Rails Day is a great way to promote your company to the
geek demographic. If you''re interested, send an inquiry to
sponsor@railsday2006.com and we can work something out.
Enjoy.
-Bryan
--
http://www.MyCongress.org/ -- coming soon
2006 Mar 28
0
Rails Day 2006
...Is any work being done on organizing Rails Day 2006? As a participant
in 2005, it was lots of fun, and I''d really like to see it continued.
RailsDay.com seems to be down.
Who organized the last one? Will they be running it again? If no one
is doing it, I might.
-Bryan
--
http://www.MyCongress.org/ -- coming soon
2006 Oct 08
9
Organizing tests and mocha expectations
...as if each of those expectations is both setup code and
a test, and each test relies on all the setup code for the whole test
case.
Is there anyway to reorganize this code to still be DRY but yet also
achieve more granular tests, despite their interdependencies?
Thanks,
-Bryan
--
http://www.MyCongress.org/ -- coming soon
2006 Nov 07
7
should_redirect_to in advance - feels unnatural
I can understand that it''s easier for rspec to set up a mock in advance
of the controller call. But it makes it difficult to do something like:
context "The HarkController, given Louie the logged-in user" do
setup do
post :login, :username => ''louie'', :password => ''atest''
end
specify "should redirect Louie to the home