Skip to content

Instantly share code, notes, and snippets.

@marick
Created June 1, 2010 17:54
Show Gist options
  • Save marick/421236 to your computer and use it in GitHub Desktop.
Save marick/421236 to your computer and use it in GitHub Desktop.
def test_that_any_blocking_actions_are_deferred_until_UI_has_had_a_time_to_repaint
during {
post(News::TimeToUpdateDirectory)
}.behold!{
@sut.expects(:postNotificationAfterRunLoop).with(News::ResumeDeferredLoad, @sut)
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment