Skip to content

Instantly share code, notes, and snippets.

@danpoltawski
Created June 6, 2013 01:05
Show Gist options
  • Select an option

  • Save danpoltawski/5718596 to your computer and use it in GitHub Desktop.

Select an option

Save danpoltawski/5718596 to your computer and use it in GitHub Desktop.
diff --git a/mod/lesson/tests/behat/date_availability.feature b/mod/lesson/tests/behat/date_availability.feature
index 026661a..59970e4 100644
--- a/mod/lesson/tests/behat/date_availability.feature
+++ b/mod/lesson/tests/behat/date_availability.feature
@@ -1,4 +1,4 @@
-@mod @mod_lesson
+@mod @mod_lesson @dan-test
Feature: A teacher can set available from and deadline dates to access a lesson
In order to schedule lesson activities
As a teacher
@@ -44,7 +44,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
And I log in as "student1"
And I follow "Course 1"
When I follow "Test lesson"
- Then I should see "This lesson will be open on Wednesday, 1 January 2020, 8:00 AM."
+ Then I should see "This lesson will be open on Wednesday, 1 January 2020, 8:00 am."
And I should not see "First page contents"
@javascript
@@ -71,5 +71,5 @@ Feature: A teacher can set available from and deadline dates to access a lesson
And I log in as "student1"
And I follow "Course 1"
When I follow "Test lesson"
- Then I should see "This lesson closed on Saturday, 1 January 2000, 8:00 AM."
+ Then I should see "This lesson closed on Saturday, 1 January 2000, 8:00 am."
And I should not see "First page contents"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment