Fixed modal selenium error by always saving a model

when setting it up by send_table_to_object
pull/707/head
Sebastian Schuster 11 years ago
parent 9854b80f90
commit 11d57c0599
  1. 2
      features/step_definitions/general_steps.rb

@ -425,7 +425,7 @@ def send_table_to_object(object, table, except = {}, rescue_block = nil)
raise "No such method #{_key} on a #{object.class}"
end
end
object.save! if object.changed?
object.save!
end
end

Loading…
Cancel
Save