Sha256: c6b41fc49dd9c81314d3b90e880ca072306b280f80466d1fd5fb3d894a00d488
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 Bytes
Contents
module CurrentUsers def current_user @current_user ||= ::User.new 'stan', 'stan@mail.ru', :role => 'user' end def current_guest @current_guest ||= ::User.new 'guest', 'guest@mail.ru', :role => 'guest' end def current_admin @current_admin ||= ::Admin.new 'admin', 'admin@mail.ru', :role => 'admin' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cantango-api-0.1.3 | spec/helpers/current_users.rb |
cantango-api-0.1.2 | spec/helpers/current_users.rb |