store method, not name, in message
changes the calling and thus too many test
This commit is contained in:
@ -16,7 +16,7 @@ module Parfait
|
||||
def test_message_name_nil
|
||||
last = @type.names.last
|
||||
assert_equal :arguments , last , @type.names.inspect
|
||||
assert_nil @mess.name
|
||||
assert_nil @mess.method
|
||||
end
|
||||
def test_message_next_set
|
||||
@mess.next_message = :next_message
|
||||
|
@ -35,8 +35,8 @@ module Parfait
|
||||
def test_caller
|
||||
assert_nil @mess.caller
|
||||
end
|
||||
def test_name
|
||||
assert_nil @mess.name
|
||||
def test_method
|
||||
assert_nil @mess.method
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user