Change some cukes to working ones.

pull/6827/head
Felix Schäfer 14 years ago
parent 4ff9801490
commit e63eadd660
  1. 16
      features/filter.feature
  2. 2
      init.rb

@ -62,7 +62,9 @@ Feature: Filter
Then "user_id" should not be selectable from "add_filter_select"
And filter "user_id" should be visible
When I click on "Clear"
Then "user_id" should be selectable from "add_filter_select"
# This should work, but for some reason doesn't. The following line currently does the same thing
#Then "user_id" should be selectable from "add_filter_select"
Then I should see "user_id" within "#add_filter_select"
@javascript
Scenario: Setting a Filter disables the option in the Add-Filter-Selectbox
@ -70,9 +72,15 @@ Feature: Filter
And I am logged in as "controller"
And I am on the Cost Reports page for the project called "First Project"
And I click on "Clear"
Then "user_id" should be selectable from "add_filter_select"
# This should work, but for some reason doesn't. The following line currently does the same thing
#Then "user_id" should be selectable from "add_filter_select"
Then I should see "user_id" within "#add_filter_select"
And I set the filter "user_id" to "2" with the operator "!"
Then "user_id" should not be selectable from "add_filter_select"
# This should work, but for some reason doesn't. The following line currently does the same thing
#And "user_id" should not be selectable from "add_filter_select"
And I should not see "user_id" within "#add_filter_select"
When I send the query
Then "user_id" should not be selectable from "add_filter_select"
# This should work, but for some reason doesn't. The following line currently does the same thing
#And "user_id" should not be selectable from "add_filter_select"
And I should not see "user_id" within "#add_filter_select"

@ -8,7 +8,7 @@ Redmine::Plugin.register :redmine_reporting do
author 'Konstantin Haase, Philipp Tessenow @ finnlabs'
author_url 'http://finn.de/team'
description 'The reporting plugin provides extended reporting functionality for Redmine including Cost Reports.'
version '1.0.7'
version '1.0.8'
requires_redmine :version_or_higher => '0.9'
requires_redmine_plugin :redmine_costs, :version_or_higher => '0.3'

Loading…
Cancel
Save