Sha256: d92ee5de61807fca416ab1efa7bfc1a39151c1bb31607a32f107aa0e0f789aa3
Contents?: true
Size: 617 Bytes
Versions: 8
Compression:
Stored size: 617 Bytes
Contents
require 'helper' require 'singleton' module Rails module VERSION MAJOR = 3 MINOR = 0 PATCH = 4 STRING = '3.0.4' end def self.application Application.instance end class Application include Singleton def name 'Foobar' end end end class TestBrighterPlanetLayout < Test::Unit::TestCase def test_application_name assert_equal 'Foobar', BrighterPlanetLayout.application_name end def test_latest_blog_post assert !BrighterPlanetLayout.latest_blog_post.empty? end def test_latest_tweet assert !BrighterPlanetLayout.latest_tweet.empty? end end
Version data entries
8 entries across 8 versions & 1 rubygems