Sha256: 3f37a54d10d5eaf594da03a90860b8ca57d5924fad7aa18788811c5bcd3c6482
Contents?: true
Size: 412 Bytes
Versions: 2
Compression:
Stored size: 412 Bytes
Contents
require "#{File.dirname(File.expand_path(__FILE__))}/../../helper" class TestInstanceMethods < Test::Unit::TestCase def setup @b = Book.new end %w{cleo_id update_cleo remove_from_cleo create_cleo set_cleo_id to_cleo_result as_cleo}.each do |resp| should "respond to #{resp}" do assert @b.respond_to?(resp), "ActiveRecord Model with acts_as_cleo should respond to #{resp}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_cleo-3.0.2 | test/unit/acts_as_cleo/test_instance_methods.rb |
acts_as_cleo-3.0.1 | test/unit/acts_as_cleo/test_instance_methods.rb |