Skip to content

Commit

Permalink
deleting useless stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Danwhy committed May 22, 2015
1 parent 4961b53 commit 165af0b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions javascript/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,6 @@ test("Test if there is a place to input a seerch term", function(){
notEqual(inputt,'',"Woop there is a input element!! Way to go!");
});

test("Can you update the pictures with new tag", function(){
var iframe = document.getElementById("iframe");
var target = iframe.contentDocument || iframe.contentWindow.document;

var newTag = target.tag ==="nofilter" ? "love": "nofilter";
target.tagUpdate(newTag);
var done = assert.async();
setTimeout(function(){
var success = true;
for(var i = 0; i<data.data.length; i++){
if(data.data[i].text.search("#"+newTag) === -1){
success = false;
break;
}
}
ok(success);
done();
},200);
});

test("Test does the var tag change when hit find", function(assert){

var iframe = document.getElementById('iframe');
Expand Down

0 comments on commit 165af0b

Please sign in to comment.