This commit is contained in:
Bernhard Posselt 2013-05-07 21:16:58 +02:00
Родитель 112285d423
Коммит f08dd69dd1
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -14,5 +14,6 @@ Then (/^I should see an "([^"]+)" caption on the add new button$/) do |caption|
end
Then (/^I should not see an "([^"]+)" caption on the add new button$/) do |caption|
# if its not visible the selector wont find it
page.should have_no_selector(:xpath, "//li[contains(@class,\"add-new\")]/a/span[1]")
end