Standup 04/16/2007
Help
- Problems with initial start up of CrusieControl daemon script. J of cc.rb can take a look.
- Running Selenium on IE7 remotely
Interesting Things
after_filteris called after the template is rendered, thus you cannot set instance variables in it and expect them to be available in the template. Theafter_filtermethod is good for post-render content manipulation or analysis such as gzipping, translating to pig latin or determining content-length. Perhaps it would be useful to add abefore_renderhook?- Remember integration tests are for full stack http testing (routes, REST, etc). Functional tests do not test full stack. Integration tests require some special handling.
- After a reload on an association proxy object, the reference becomes a true Array (they always respond true to
is_a?(Array). This means that none of the association proxy methods are available!
<code>
class Foo < ActiveRecord::Base
has_many :bar
end
foo = Foo.new
foo.bars.reload.build
NoMethodError: undefined method `build' for []:Array
</code>
Total Stand-up Meeting Time: 14:00 minutes

Actually, Selenium tests are for full-stack testing. The Rails "Integration Tests" skip several important layers including JS, DOM and AJAX. And do they really use HTTP, or do they fake it with Rails Request objects?