From 07dae439ef2617451cd0aa4e9ecebf5d86f5e078 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <jkowalsk@student.agh.edu.pl>
Date: Sat, 01 Sep 2018 10:56:34 +0000
Subject: [PATCH] Merge pull request #15 from tsedor/patch-1

---
 tests.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests.js b/tests.js
index 9e348c8..d82b00b 100644
--- a/tests.js
+++ b/tests.js
@@ -27,15 +27,15 @@
 });
 
 casper.test.begin('Translation engine', 2, function(test) {
-	casper.start('http://127.0.0.1:8080/#!pl', function() {
-		test.assertTitleMatches(/odjazdy/i, 'Page title: ...odjazdy...');
+	casper.start('http://127.0.0.1:8080/#!en', function() {
+		test.assertTitleMatches(/departures/i, 'Page title: ...departures...');
 	});
 	
 	casper.wait(200, function() {
 		test.assertSelectorHasText(
 			'[data-translate=header_line]',
-			'Linia',
-			'Translation: Line -> Linia'
+			'Line',
+			'Translation: Linia -> Line'
 		);
 	});
 	

--
Gitblit v1.9.1