beforeEach ->
  @previousHref = location.href
  @previousTitle = document.title
  
afterEach ->
  if up.browser.canPushState()
    history.replaceState?({}, @previousTitle, @previousHref)


beforeEach ->
  @previousHref = location.href
  @previousTitle = document.title
  
afterEach ->
  if up.browser.canPushState()
    history.replaceState?({}, @previousTitle, @previousHref)
    document.title = @previousTitle


Reset window title after each spec
Reset window title after each spec
