Sha256: 0be88170487442e75bd1b567e44b561da0e3508f63b57266f723fd190c1968df

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 Bytes

Contents

require "test/unit"
require "rubygems"
require "ruby-debug"
require File.dirname(__FILE__) + "/../lib/settingslogic"

class Test::Unit::TestCase
  def configure
    Settingslogic::Config.configure do |config|
      config.settings_file = File.dirname(__FILE__) + "/application.yml"
    end
  end
  
  def setup
    configure
  end
  
  def teardown
    configure
    Settingslogic::Settings.reset!
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
settingslogic-1.0.3 test/test_helper.rb
settingslogic-1.0.0 test/test_helper.rb
settingslogic-1.0.2 test/test_helper.rb
settingslogic-0.9.0 test/test_helper.rb
settingslogic-1.0.1 test/test_helper.rb