test/unit/notifier_test.rb in integrity-0.1.9.1 vs test/unit/notifier_test.rb in integrity-0.1.9.2
- old
+ new
@@ -1,7 +1,12 @@
require File.dirname(__FILE__) + "/../helpers"
class NotifierTest < Test::Unit::TestCase
+ test "deprecated methods" do
+ Notifier::Base.new(Build.gen, {}).should respond_to(:build)
+ Notifier::Base.new(Build.gen, {}).should respond_to(:build_url)
+ end
+
specify "IRC fixture is valid and can be saved" do
lambda do
Notifier.generate(:irc).tap do |project|
project.should be_valid
project.save