Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 0.438 kB
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', BrighterPlanet.layout.application_name
end
end
Jump to Line
Something went wrong with that request. Please try again.