Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F905145
group.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 29, 9:32 PM
Size
237 B
Mime Type
text/plain
Expires
Sun, Aug 31, 9:32 PM (9 h, 35 m)
Engine
blob
Format
Raw Data
Handle
252502
Attached To
rWEBDNS WebDNS (edet4)
group.rb
View Options
FactoryGirl
.
define
do
factory
:group
do
sequence
(
:name
)
{
|
n
|
"group-
#{
n
}
"
}
factory
:group_with_users
do
after
(
:create
)
do
|
group
|
create_list
(
:user
,
2
)
.
each
{
|
u
|
group
.
users
<<
u
}
end
end
end
end
Event Timeline
Log In to Comment