Sha256: 74afeb1c1bc182d29e90d718990507b4dc7351eac5ccc3cad1ee1224c0331951

Contents?: true

Size: 166 Bytes

Versions: 3

Compression:

Stored size: 166 Bytes

Contents

module UserMacro

  USERS = {}

  def create_user(label, attributes)
    USERS[label] = User.create!(attributes)
  end

  def users(label)
    USERS[label]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scoped_from-0.8.0 spec/support/macros/user_macro.rb
scoped_from-0.7.0 spec/support/macros/user_macro.rb
scoped_from-0.6.1 spec/support/macros/user_macro.rb