Sha256: 8bc1f7f9a894e054038f19a5ca605b0b015c90e83a209530dbb0d6e4598ecab3

Contents?: true

Size: 158 Bytes

Versions: 11

Compression:

Stored size: 158 Bytes

Contents

require 'active_model'

class MockPerson
  extend ActiveModel::Naming

  attr_accessor :name

  def persisted?
    false
  end

  def to_key
    []
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
arbo-1.3.1 spec/rails/support/mock_person.rb
arbo-1.3.0 spec/rails/support/mock_person.rb
arbo-1.2.0 spec/rails/support/mock_person.rb
arbre-1.2.1 spec/rails/support/mock_person.rb
arbre-1.2.0 spec/rails/support/mock_person.rb
arbre-1.2.0.rc1 spec/rails/support/mock_person.rb
arbre-1.1.1 spec/rails/support/mock_person.rb
arbre-1.0.3 spec/rails/support/mock_person.rb
arbre-1.0.2 spec/rails/support/mock_person.rb
arbre-1.0.1 spec/rails/support/mock_person.rb
arbre-1.0.0 spec/rails/support/mock_person.rb