Sha256: 480d5359083686da5f670f7836998be19cbf57cfce49da764911a80763ccafbd

Contents?: true

Size: 489 Bytes

Versions: 8

Compression:

Stored size: 489 Bytes

Contents

require 'bundler'
Bundler.setup

gem 'minitest'
require 'representable'
require 'representable/json'
require 'test/unit'
require 'minitest/spec'
require 'minitest/autorun'
require 'test_xml/mini_test'
require 'mocha'

class Album
  attr_accessor :songs, :best_song
  def initialize(*songs)
    @songs      = songs
    @best_song  = songs.last
  end
end

class Song
  attr_accessor :name
  def initialize(name=nil)
    @name = name
  end
  
  def ==(other)
    name == other.name
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
representable-1.2.0 test/test_helper.rb
representable-1.1.7 test/test_helper.rb
representable-1.1.6 test/test_helper.rb
representable-1.1.5 test/test_helper.rb
representable-1.1.4 test/test_helper.rb
representable-1.1.3 test/test_helper.rb
representable-1.1.2 test/test_helper.rb
representable-1.1.1 test/test_helper.rb