Sha256: 9b4ae294afcc6b88b9c33b8fdbddef13916d1f42cb7c61b1bef620a77472d01e

Contents?: true

Size: 343 Bytes

Versions: 6

Compression:

Stored size: 343 Bytes

Contents

require 'test_helper'
class Nyoibo::ConfigureTest < Test::Unit::TestCase
  context ".configure" do
    setup do
      Nyoibo.configure do
        host 'localhost'
        port 3030
      end
    end
    should "reflect config" do
      assert_equal 'localhost', Nyoibo.config.host
      assert_equal 3030, Nyoibo.config.port
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nyoibo-0.0.3.3 test/unit/configure_test.rb
nyoibo-0.0.3.2 test/unit/configure_test.rb
nyoibo-0.0.3.1 test/unit/configure_test.rb
nyoibo-0.0.3 test/unit/configure_test.rb
nyoibo-0.0.2 test/unit/configure_test.rb
nyoibo-0.0.1 test/unit/configure_test.rb