Sha256: 73eb2ea94f2bb4cc3a05a6fc5a24082440f182fd8283250ec1e05bb8e9475166

Contents?: true

Size: 585 Bytes

Versions: 9

Compression:

Stored size: 585 Bytes

Contents

require 'test_helper'

class AslonSettingsTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, AslonSettings
  end

  test "Assignation d un parametre" do
    Admin::Param.smpt.serveur="smtp.gmail.com"
    assert_equal    Admin::Param.smpt.serveur, "smtp.gmail.com"
  end

  test "Assignation d un parametre et modification" do
    Admin::Param.smpt.serveur="smtp.gmail.com"
    assert_equal    Admin::Param.smpt.serveur, "smtp.gmail.com"

    Admin::Param.smpt.serveur="smtp.google.com"
    assert_equal  Admin::Param.smpt.serveur, "smtp.google.com"
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aslon_settings-0.1.8 test/unit/aslon_settings_test.rb
aslon_settings-0.1.7 test/unit/aslon_settings_test.rb
aslon_settings-0.1.6 test/unit/aslon_settings_test.rb
aslon_settings-0.1.5 test/unit/aslon_settings_test.rb
aslon_settings-0.1.4 test/unit/aslon_settings_test.rb
aslon_settings-0.1.3 test/unit/aslon_settings_test.rb
aslon_settings-0.1.2 test/unit/aslon_settings_test.rb
aslon_settings-0.0.2 test/unit/aslon_settings_test.rb
aslon_settings-0.0.1 test/unit/aslon_settings_test.rb