Sha256: a2d405c8363009a719432317dfd6e9670c4d8833ceb87d5c678839c34fdb2498
Contents?: true
Size: 621 Bytes
Versions: 17
Compression:
Stored size: 621 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 TestBrighterPlanet.layout < Test::Unit::TestCase def test_application_name assert_equal 'Foobar', BrighterPlanet.layout.application_name end def test_latest_blog_post assert !BrighterPlanet.layout.latest_blog_post.empty? end def test_latest_tweet assert !BrighterPlanet.layout.latest_tweet.empty? end end
Version data entries
17 entries across 17 versions & 1 rubygems