Sha256: 44b9c5d898b88b9d4083a8448867ca5e741ce47391d2464d5824a2e428c34ba4

Contents?: true

Size: 167 Bytes

Versions: 8

Compression:

Stored size: 167 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

8 entries across 8 versions & 1 rubygems

Version Path
scoped_from-1.0.1 spec/support/macros/user_macro.rb
scoped_from-1.0.0 spec/support/macros/user_macro.rb
scoped_from-0.9.0 spec/support/macros/user_macro.rb
scoped_from-0.8.5 spec/support/macros/user_macro.rb
scoped_from-0.8.4 spec/support/macros/user_macro.rb
scoped_from-0.8.3 spec/support/macros/user_macro.rb
scoped_from-0.8.2 spec/support/macros/user_macro.rb
scoped_from-0.8.1 spec/support/macros/user_macro.rb