Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed mr filter tests

  • Loading branch information...
commit 7f368753741a9998c1cbde06c44c5b53677a47d9 1 parent 9fddd5b
@randx randx authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 features/steps/dashboard/dashboard_event_filters.rb
View
10 features/steps/dashboard/dashboard_event_filters.rb
@@ -1,12 +1,12 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.