test/unit/much-mixin_tests.rb in much-mixin-0.0.1 vs test/unit/much-mixin_tests.rb in much-mixin-0.2.3
- old
+ new
@@ -23,13 +23,13 @@
assert_same mixin, subject.much_mixin_included_detector
exp = subject::MuchMixinIncludedDetector
assert_same exp, subject.much_mixin_included_detector
end
- should "have no plugin included blocks by default" do
+ should "have no mix-in included blocks by default" do
assert_empty subject.much_mixin_included_blocks
- assert_empty subject.much_plugin_after_included_blocks
+ assert_empty subject.much_mixin_after_included_blocks
end
should "append blocks" do
subject.mixin_included(&@block1)
subject.mixin_included(&@block2)
@@ -50,10 +50,10 @@
def self.do_something_count; @do_something_count ||= 0; end
end
end
- should "call the plugin included blocks" do
+ should "call the mix-in included blocks" do
assert_equal 0, @receiver.block1_count
assert_equal 0, @receiver.block2_count
assert_equal 0, @receiver.do_something_count
@receiver.send(:include, TestMuchMixin)