提交 7f368753 编写于 作者: D Dmitriy Zaporozhets

Fixed mr filter tests

上级 9fddd5b4
class EventFilters < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedPaths
include SharedProject
Then 'I should see push event' do
page.should have_selector('span.pushed')
end
Then 'I should not see push event' do
page.should_not have_selector('span.pushed')
end
......@@ -20,11 +20,11 @@ class EventFilters < Spinach::FeatureSteps
end
Then 'I should see merge request event' do
page.should have_selector('span.merged')
page.should have_selector('span.accepted')
end
And 'I should not see merge request event' do
page.should_not have_selector('span.merged')
page.should_not have_selector('span.accepted')
end
And 'this project has push event' do
......@@ -68,7 +68,7 @@ class EventFilters < Spinach::FeatureSteps
target_id: merge_request.id,
target_type: "MergeRequest",
author_id: @user.id
)
)
end
When 'I click "push" event filter' do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册