   grunt.option 'force', true
   grunt.registerTask 'default', ['dev']
 
-  filteredTest = if (filter = grunt.option('filter')) then "jasmine:#{filter}" else 'jasmine'
+  filteredTest = if filter then "jasmine:#{filter}" else 'jasmine'
   grunt.registerTask 'filtered_test', [filteredTest]
 
   grunt.registerTask 'dev', ['coffee:src', 'watch:coffee']

  #  Load npm tasks
  #-----------------------------------------------
  require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks

  #  File list
  #-----------------------------------------------

        tasks: ['coffee:test']

      jasmine:
        files: ['tmp/spec/**/*.js', 'tmp/src/**/*.js']
        tasks: ['filtered_test']


