Sha256: ca716e77dd8383663aab912cd93e8a291c6d194ec3ba423bc2ad704a5c714f54

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require 'test_helper'
require 'fileutils'

class WatchfulTest < Test::Unit::TestCase
	
	def setup
		['/tmp/first', '/tmp/second'].each do |f|
			FileUtils.touch(f)
		end
	end

	class FirstTestConfiguration < Watchful::Configuration
		action :name => 'Placeholder Action'
	end
	
	should 'correctly compile list of actions' do
		assert_equal FirstTestConfiguration.actions.length, 1
	end
	
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watchful-0.0.0.pre1 test/customconfiguration_test.rb