parent
9be180f423
commit
8e529e3a02
@ -1,21 +0,0 @@ |
||||
#-- copyright |
||||
# OpenProject Reporting Plugin |
||||
# |
||||
# Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF) |
||||
# |
||||
# This program is free software; you can redistribute it and/or |
||||
# modify it under the terms of the GNU General Public License |
||||
# version 3. |
||||
# |
||||
# This program is distributed in the hope that it will be useful, |
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
# GNU General Public License for more details. |
||||
# |
||||
# You should have received a copy of the GNU General Public License |
||||
# along with this program; if not, write to the Free Software |
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||||
#++ |
||||
|
||||
ScenarioDisabler.disable(feature: "Tracking Time", scenario: "Adding a time entry") |
||||
ScenarioDisabler.disable(feature: "Tracking Time", scenario: "Editing a time entry") |
@ -1,7 +0,0 @@ |
||||
Then /^there should be a link to the work package list in ([^ ]+) format( with descriptions)?$/ do |format, with_descriptions| |
||||
path_options = {:project_id => Project.first.identifier, :format => 'xls'} |
||||
path_options[:show_descriptions] = 'true' if with_descriptions |
||||
# Use XPath to match both title and URL, otherwise we might get ambiguous matches |
||||
find(:xpath, "//a[contains(., '#{format}') and " + |
||||
"@href = '#{project_work_packages_path(path_options)}']") |
||||
end |
@ -1,9 +0,0 @@ |
||||
Feature: Show link to XLS format below work package list |
||||
|
||||
@wip |
||||
Scenario: There is a link to the work package list in XML format |
||||
Given there is a project named "Test Project" |
||||
And I am already admin |
||||
When I go to the work packages index page for the project "Test Project" |
||||
Then there should be a link to the work package list in XLS format |
||||
And there should be a link to the work package list in XLS format with descriptions |
Loading…
Reference in new issue