Sha256: fcfc47a779e93bddd473e800b2f7e64c7aa9f3ca4c7f2b635dba4514eafcdfd0

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

class FakeModel
  attr_accessor :foo, :publish_on, :bad

  def id
    1337
  end

  def valid?
    true
  end

  def new_record?
    false
  end

  def errors
    FakeErrors.new(self)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
antw-kin-0.3.2 spec/fixture/app/models/fake_model.rb
antw-kin-0.3.3 spec/fixture/app/models/fake_model.rb
antw-kin-0.4.0 spec/fixture/app/models/fake_model.rb
antw-kin-0.4.1 spec/fixture/app/models/fake_model.rb