Sha256: b9133d254ad6e68f79125a356e129c72eb83cd4a4c18dff79c7f091432b23e88

Contents?: true

Size: 428 Bytes

Versions: 19

Compression:

Stored size: 428 Bytes

Contents

require 'test_helper'

class Cms::Fortress::SettingsTest < ActiveSupport::TestCase

  test "it_should_raise_MissingConfigFile_exception" do
    assert_raises (Cms::Fortress::Error::MissingSettingsFile) {
      Cms::Fortress::Settings.new(:bla)
    }
  end

  test "test_it_should_return_the_config_file" do
    settings = Cms::Fortress::Settings.new(:global_settings)
    assert_equal(settings.title, 'CMS Fortress')
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cms-fortress-1.3.15 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.14 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.13 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.12 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.11 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.10 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.9 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.8 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.7 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.6 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.5 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.4 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.3 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.2 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.1 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.0 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.0.rc3 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.0.rc2 test/models/comfy/cms/settings_test.rb
cms-fortress-1.3.0.rc1 test/models/comfy/cms/settings_test.rb