Sha256: 49fb4161f11a06174310a5fe6446d83312ad265251a3b5ef3fb9c24d565b9df7

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 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', BrighterPlanet.layout.application_name
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brighter_planet_layout-0.5.6 test/test_brighter_planet_layout.rb