diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-07 13:32:24 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-07 13:32:24 +0400 |
commit | 7f368753741a9998c1cbde06c44c5b53677a47d9 (patch) | |
tree | 00a681fe0d660605d61a3b0f2ec8ac32bf6dcbba /features/steps/dashboard | |
parent | 9fddd5b440105376caf913e1c09756ec2aaf4431 (diff) |
Fixed mr filter tests
Diffstat (limited to 'features/steps/dashboard')
-rw-r--r-- | features/steps/dashboard/dashboard_event_filters.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/features/steps/dashboard/dashboard_event_filters.rb b/features/steps/dashboard/dashboard_event_filters.rb index afa15c31332..09da4e6756f 100644 --- a/features/steps/dashboard/dashboard_event_filters.rb +++ b/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 |