Code review feedback.

This commit is contained in:
cahrens
2014-03-21 15:00:31 -04:00
parent b0c35982a6
commit bb0a58abf7
5 changed files with 20 additions and 16 deletions

View File

@@ -99,9 +99,9 @@ def i_click_on_save(step):
world.save_component(step)
@step('the page text is:')
@step('the page text contains:')
def check_page_text(step):
assert_equal(step.multiline, world.css_find('.xmodule_HtmlModule').html.strip())
assert_in(step.multiline, world.css_find('.xmodule_HtmlModule').html)
@step('the src link is rewritten to "(.*)"$')