Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Commit

Permalink
Defined last step
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jul 8, 2010
1 parent e6f84b3 commit 0af8797
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions school/features/step_definitions/students_registry_steps.py
Expand Up @@ -71,3 +71,6 @@ def then_i_should_be_redirect_to_the_page_of_student_group1(step, student_code):
expected_url = django_url('/school/students/view/%d' %student_code)
world.browser.get_current_url() |should| equal_to(expected_url)

@step(u'And the page title should contains "(.*)"')
def and_the_page_title_should_contains_group1(step, student_name):
world.browser.get_title() |should| include(student_name)

0 comments on commit 0af8797

Please sign in to comment.