       expect(result.lineNumber).to.equal 1
       expect(result.line).to.equal 'alert("Hello CoffeeScript!")'
 
-  describe 'function on an object', ->
-
-    it 'is ok if no unneeded parens are used', ->
-      results = coffeelint.lint 'Math.pow 2, 3', config
-      expect(results.length).to.equal 0
-
-    it 'is not ok if unneeded parens are used', ->
+    it 'rejects a method invocation where unneeded parens are used', ->
       results = coffeelint.lint 'Math.pow(2, 3)', config
       expect(results.length).to.equal 1
       result = results[0]

      expect(result.lineNumber).to.equal 2
      expect(result.line).to.equal '  alert "Hello CoffeeScript!")'

  describe 'chained function invocations', ->

    it 'is ok if no unneeded parens are used', ->
      input = """
      gulp.task 'compile', ->
        gulp.src(src)
          .pipe(coffee())
          .pipe(gulp.dest('./src'))
      """
      results = coffeelint.lint input, config
      expect(results.length).to.equal 0

    it 'is not ok if unneeded parens are used', ->
      input = """
      gulp.task('compile', ->
        gulp.src(src)

      expect(result.lineNumber).to.equal 1
      expect(result.line).to.equal 'Math.pow(2, 3)'

    it 'rejects a fn invocation that takes an fn as an arg with unneeded parens', ->
      input = '''
      runLater(->
        alert "Hello CoffeeScript!")
