 # TODO(pwaller): Conditionally disable modal depending on whether we're in
 # an environment that supports it.
 (if process.env.SKIP_MODAL then xdescribe else describe) 'Platform-specific SSH instructions', ->
+
+  before (done) ->
+    # Needed so that SSH keys are deleted
+    cleaner.clear_and_set_fixtures done
 
   before (done) ->
     loginAndGo "ehg", "testing", "/dataset/3006375731", done


    it 'the modal window shows me the commands I should run', =>
      @modalTextContent.should.include 'xclip -sel clip < ~/.ssh/id_rsa.pub'

require './setup_teardown'
should = require 'should'
{wd40, browser, loginAndGo} = require './helper'
cleaner = require '../cleaner'

clickSSHButton = (done) ->
  wd40.click '#toolbar a[href$="/settings"] .dropdown-toggle', (err) ->
