test/unit/notifier_test.rb in integrity-0.1.9.3 vs test/unit/notifier_test.rb in integrity-0.1.10
- old
+ new
@@ -1,6 +1,7 @@
require File.dirname(__FILE__) + "/../helpers"
+require "helpers/acceptance/textfile_notifier"
class NotifierTest < Test::Unit::TestCase
specify "IRC fixture is valid and can be saved" do
lambda do
Notifier.generate(:irc).tap do |project|
@@ -66,11 +67,9 @@
end
end
describe "Registering a notifier" do
it "registers given notifier class" do
- load "helpers/acceptance/textfile_notifier.rb"
-
Notifier.register(Integrity::Notifier::Textfile)
assert_equal Integrity::Notifier::Textfile,
Notifier.available["Textfile"]
end