Skip to content

Commit

Permalink
[completed #94151054] Allow orientation registry after similarity ana…
Browse files Browse the repository at this point in the history
…lysis
  • Loading branch information
tiagonog committed May 27, 2015
1 parent 68092ce commit 276a906
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/cucumber/steps/XMLImportSteps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,15 @@ When(~'^I click on "upload" informing the tolerance level$') { ->
Then(~'^the system outputs a successful message$') { ->
//se for um erro a mensagem é colocada em readErrorMessage
assert page.readFlashMessage() != null
}

Then(~'^the system outputs a list of imported orientations which contains the orientations "([^"]*)" and "([^"]*)"$') { String title1, title2->
def orientation1 = Orientation.findByTituloTese(title1)
def orientation2 = Orientation.findByTituloTese(title2)
assert orientation1 != null && orientation2 != null
}

And(~'^the new orientation entitled "([^"]*)" is stored by the system$') { String title->
def orientation = Orientation.findByTituloTese(title)
assert orientation != null
}
1 change: 1 addition & 0 deletions test/functional/steps/curriculo6.xml

Large diffs are not rendered by default.

0 comments on commit 276a906

Please sign in to comment.