Sha256: 4d35580b623907c8a7614c207cf606dfb6e7a2a8079f19f5551c7d2a969768c0

Contents?: true

Size: 155 Bytes

Versions: 3

Compression:

Stored size: 155 Bytes

Contents

class DummyUser < ActiveRecord::Base
  attr_accessor :alchemy_roles, :name

  def self.logged_in
    []
  end

  def alchemy_roles
    %w(admin)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy_cms-3.1.0 spec/dummy/app/models/dummy_user.rb
alchemy_cms-3.1.0.rc3 spec/dummy/app/models/dummy_user.rb
alchemy_cms-3.1.0.rc2 spec/dummy/app/models/dummy_user.rb