Sha256: d76c370a4e5727e8abf8d363122101e1bb1af67b2583dd220afc2ecd55e974c9
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
require 'bundler' Bundler.setup gem 'minitest' require 'representable' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
representable-1.1.0 | test/test_helper.rb |