shouldn't this be `describe Window do` (or `describe '$window' do`)