summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-10 23:48:40 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-10 23:48:40 +0300
commit7786fe7ca84503ac2f00253f7097c754c51c1062 (patch)
tree78d1784d5e9d8f99c409f62df885db07411aace4 /features
parent001f3bc59ef34752b98ab405fde2520b15eff51c (diff)
downloadgitlab-ce-7786fe7ca84503ac2f00253f7097c754c51c1062.tar.gz
Fixing specs & spinach since Wiki model does not exists any more
Diffstat (limited to 'features')
-rw-r--r--features/dashboard/search.feature5
-rw-r--r--features/steps/dashboard/dashboard_search.rb11
2 files changed, 0 insertions, 16 deletions
diff --git a/features/dashboard/search.feature b/features/dashboard/search.feature
index 9813d9d1e7c..91d870f46f3 100644
--- a/features/dashboard/search.feature
+++ b/features/dashboard/search.feature
@@ -2,13 +2,8 @@ Feature: Dashboard Search
Background:
Given I sign in as a user
And I own project "Shop"
- And Project "Shop" has wiki page "Contibuting guide"
And I visit dashboard search page
Scenario: I should see project I am looking for
Given I search for "Sho"
Then I should see "Shop" project link
-
- Scenario: I should see wiki page I am looking for
- Given I search for "Contibuting"
- Then I should see "Contibuting guide" wiki link \ No newline at end of file
diff --git a/features/steps/dashboard/dashboard_search.rb b/features/steps/dashboard/dashboard_search.rb
index 9c8c879479d..32966a8617a 100644
--- a/features/steps/dashboard/dashboard_search.rb
+++ b/features/steps/dashboard/dashboard_search.rb
@@ -16,15 +16,4 @@ class DashboardSearch < Spinach::FeatureSteps
fill_in "dashboard_search", with: "Contibuting"
click_button "Search"
end
-
- And 'Project "Shop" has wiki page "Contibuting guide"' do
- @wiki_page = create :wiki,
- project: @project,
- title: "Contibuting guide",
- slug: "contributing"
- end
-
- Then 'I should see "Contibuting guide" wiki link' do
- page.should have_link "Contibuting guide"
- end
end