1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/features/step_definitions/account.rb

11 lines
314 B
Ruby
Raw Normal View History

2019-03-24 09:59:47 -04:00
# frozen_string_literal: true
When 'there is an account with the following data:' do |table|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
create :personal_account,
username: options[:username],
public_name: options[:public_name],
biography: options[:biography]
end