fixed some modal steps
remove view path shifting from engine since it is done by the core
pull/6827/head
Christian Ratz 11 years ago
parent f212c9288f
commit 4eeb00b74d
  1. 4
      features/step_definitions/modal_steps.rb
  2. 5
      lib/open_project/backlogs/engine.rb

@ -7,7 +7,7 @@ When(/^I open the modal window for the story "(.*?)"$/) do |subject|
end
When(/^I switch the modal window into edit mode$/) do
modal = find(".modal", :visible => true)
modal = find(".modal")
within(modal) do
click_link("Update")
@ -17,6 +17,6 @@ When(/^I switch the modal window into edit mode$/) do
end
def safeguard_backlogs_modal_in_edit_mode
find_field("work_package[description]", :visible => true)
find_field("work_package[description]")
end

@ -155,10 +155,5 @@ module OpenProject::Backlogs
end
end
config.after_initialize do
# We are overwriting versions/_form.html.erb so our view must be found first
VersionsController.view_paths.unshift("#{config.root}/app/views")
end
end
end

Loading…
Cancel
Save