← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549924] [NEW] fix 2 unit tests that do not have expectations

 

Public bug reported:

See localhost:8001/jasmine/ console to see that there are two unit tests
that do not set any expectations and essentially do not test anything:

Spec 'MagiSearchController keypress handler opens menu when searchVal is
a space' has no expectations.

Spec 'Launch Instance Keypair Step Import Key Pair Controller successful
submit calls the successCallback' has no expectations.

** Affects: horizon
     Importance: Undecided
     Assignee: Cindy Lu (clu-m)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Cindy Lu (clu-m)

** Description changed:

  See localhost:8001/jasmine/ console to see that there are two unit tests
- that do not set any expectations and essentially do not test anything.
+ that do not set any expectations and essentially do not test anything:
+ 
+ Spec 'MagiSearchController keypress handler opens menu when searchVal is
+ a space' has no expectations.
+ 
+ Spec 'Launch Instance Keypair Step Import Key Pair Controller successful
+ submit calls the successCallback' has no expectations.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1549924

Title:
  fix 2 unit tests that do not have expectations

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  See localhost:8001/jasmine/ console to see that there are two unit
  tests that do not set any expectations and essentially do not test
  anything:

  Spec 'MagiSearchController keypress handler opens menu when searchVal
  is a space' has no expectations.

  Spec 'Launch Instance Keypair Step Import Key Pair Controller
  successful submit calls the successCallback' has no expectations.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1549924/+subscriptions


Follow ups