Commit 7f368753 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed mr filter tests

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment