Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-07-04 17:00:11 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-07-04 17:00:11 (GMT)
commit9af403a2d6d550677ad1b72263ca5108287a6ef4 (patch)
tree1ef4ea68bad1e88ac4a44cbc0d99f497cf0abeb2
parent2a20c07e2d8e8f30b97661ef083b29f9d20cccb5 (diff)
remove angular dist tests
-rw-r--r--CeibalEncuestaWeb/webapp/test/e2e/scenarios.js42
1 files changed, 6 insertions, 36 deletions
diff --git a/CeibalEncuestaWeb/webapp/test/e2e/scenarios.js b/CeibalEncuestaWeb/webapp/test/e2e/scenarios.js
index 26e174a..823960c 100644
--- a/CeibalEncuestaWeb/webapp/test/e2e/scenarios.js
+++ b/CeibalEncuestaWeb/webapp/test/e2e/scenarios.js
@@ -1,45 +1,15 @@
'use strict';
-/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
-
-describe('my app', function() {
-
- beforeEach(function() {
- browser().navigateTo('../../app/index.html');
- });
-
-
- it('should automatically redirect to /view1 when location hash/fragment is empty', function() {
- expect(browser().location().url()).toBe("/view1");
- });
-
-
- describe('view1', function() {
+describe('CeibalEncuesta', function() {
beforeEach(function() {
- browser().navigateTo('#/view1');
+ browser().navigateTo("/app/hello.html");
});
-
- it('should render view1 when user navigates to /view1', function() {
- expect(element('[ng-view] p:first').text()).
- toMatch(/partial for view 1/);
+ it('should be hello world!', function() {
+ expect(element('html').text()).
+ toMatch("hello world!");
});
- });
-
-
- describe('view2', function() {
-
- beforeEach(function() {
- browser().navigateTo('#/view2');
- });
-
-
- it('should render view2 when user navigates to /view2', function() {
- expect(element('[ng-view] p:first').text()).
- toMatch(/partial for view 2/);
- });
-
- });
});
+