Sha256: f0f854f0fb6ba030c0ca9a7ce269ac6fbc64ca61324947f171fcebfd1099820f

Contents?: true

Size: 692 Bytes

Versions: 48

Compression:

Stored size: 692 Bytes

Contents

require 'test_helper'

class ApplicationExtensionsTest < ActiveSupport::TestCase

  test 'should have extension methods' do
    app = Rails.application
    skip unless app
    assert app.respond_to?(:running?)
    assert app.respond_to?(:app_name)
    assert app.respond_to?(:app_instance_name)
    assert app.respond_to?(:app_version)
    assert app.respond_to?(:app_company)
    assert app.respond_to?(:app_info)
    assert app.respond_to?(:app_copyright_year)
    assert app.respond_to?(:app_copyright)
    assert app.respond_to?(:restart_pending?)
    assert app.respond_to?(:request_restart!)
    assert app.respond_to?(:cookie_name)
  end

  # TODO: Test output of various methods.

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
incline-0.3.14 test/extensions/application_extensions_test.rb
incline-0.3.13 test/extensions/application_extensions_test.rb
incline-0.3.12 test/extensions/application_extensions_test.rb
incline-0.3.11 test/extensions/application_extensions_test.rb
incline-0.3.10 test/extensions/application_extensions_test.rb
incline-0.3.9 test/extensions/application_extensions_test.rb
incline-0.3.8 test/extensions/application_extensions_test.rb
incline-0.3.7 test/extensions/application_extensions_test.rb
incline-0.3.6 test/extensions/application_extensions_test.rb
incline-0.3.5 test/extensions/application_extensions_test.rb
incline-0.3.4 test/extensions/application_extensions_test.rb
incline-0.3.3 test/extensions/application_extensions_test.rb
incline-0.3.2 test/extensions/application_extensions_test.rb
incline-0.3.1 test/extensions/application_extensions_test.rb
incline-0.3.0 test/extensions/application_extensions_test.rb
incline-0.2.36 test/extensions/application_extensions_test.rb
incline-0.2.35 test/extensions/application_extensions_test.rb
incline-0.2.34 test/extensions/application_extensions_test.rb
incline-0.2.28 test/extensions/application_extensions_test.rb
incline-0.2.27 test/extensions/application_extensions_test.rb