Skip to content

Commit

Permalink
Testes para os firefoxes
Browse files Browse the repository at this point in the history
  • Loading branch information
peleteiro committed Jan 8, 2011
1 parent 56ac704 commit 2517b5a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/ff20_spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fakeUserAgent('Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.1.14) Gecko/20080821 Firefox/2.0.0.14');
require('/src/1.0.js');

describe('Firefox 2.0', function() {
it('should show sawpf bar', function() {
expect(document.getElementById('sawpf')).toExist();
});
});
8 changes: 8 additions & 0 deletions spec/ff30_spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fakeUserAgent('Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3');
require('/src/1.0.js');

describe('Firefox 3.0', function() {
it('should show sawpf bar', function() {
expect(document.getElementById('sawpf')).toExist();
});
});
8 changes: 8 additions & 0 deletions spec/ff35_spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fakeUserAgent('Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100215 Solaris/10.1 (GNU) Firefox/3.5.8 (Byte/me)');
require('/src/1.0.js');

describe('Firefox 3.5', function() {
it('should not show sawpf bar', function() {
expect(document.getElementById('sawpf')).not.toExist();
});
});
8 changes: 8 additions & 0 deletions spec/ff36_spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fakeUserAgent('Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11');
require('/src/1.0.js');

describe('Firefox 3.6', function() {
it('should not show sawpf bar', function() {
expect(document.getElementById('sawpf')).not.toExist();
});
});

0 comments on commit 2517b5a

Please sign in to comment.