Sha256: e1b5138441e6554e4fa1f00c78284cba282ba6315ae5b9ccaf45bb72c1850f03

Contents?: true

Size: 133 Bytes

Versions: 5

Compression:

Stored size: 133 Bytes

Contents

class User < ActiveRecord::Base
  class << self
    attr_accessor :current
  end

  def self.mock(user)
    @current = user
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
heimdallr-resource-1.2.0 spec/dummy/app/models/user.rb
heimdallr-resource-1.0.3 spec/dummy/app/models/user.rb
heimdallr-resource-1.0.2 spec/dummy/app/models/user.rb
heimdallr-resource-1.0.1 spec/dummy/app/models/user.rb
heimdallr-resource-1.0.0 spec/dummy/app/models/user.rb