Permalink
Browse files

Fixed test description to reflect test

description text was reversed, showing the OR text for the AND tests, and vice versa.
  • Loading branch information...
1 parent ee5982a commit 758888ac570e1bb68424c64bd907f6bfb6018397 @juanojeda juanojeda committed Sep 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/app/logicalOperators.js
@@ -5,13 +5,13 @@ define([
'app/logicalOperators'
], function(answers) {
describe("logical operators", function(){
- it("you should be able to work with logical or", function() {
+ it("you should be able to work with logical and", function() {
expect(answers.and(false, false)).not.to.be.ok();
expect(answers.and(true, false)).not.to.be.ok();
expect(answers.and(true, true)).to.be.ok();
});
- it("you should be able to work with logical and", function() {
+ it("you should be able to work with logical or", function() {
expect(answers.or(true, false)).to.be.ok();
expect(answers.or(true, true)).to.be.ok();
expect(answers.or(false, false)).not.to.be.ok();

0 comments on commit 758888a

Please sign in to comment.