Removed call to non-existent function formerly removing a line from

a table as the following modify of an existing attribute with the
already-existing line from the table should not cause problems as
long as it is not a key attribute
pull/179/head
Sebastian Schuster 12 years ago
parent 6d7a21bb5f
commit 7b819d4045
  1. 4
      features/step_definitions/general_steps.rb

@ -73,9 +73,7 @@ Given /^there is 1 [Uu]ser with(?: the following)?:$/ do |table|
login = table.rows_hash[:Login].to_s + table.rows_hash[:login].to_s
user = User.find_by_login(login) unless login.blank?
if user
table = table.reject_key(/(L|l)ogin/)
else
if !user
user = FactoryGirl.create(:user)
user.password = user.password_confirmation = nil
end

Loading…
Cancel
Save