Sha256: a59f74150a141b79b1322b98df41de439ba0afdf06f60e6578a432fb906d3eae
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
require 'helper' class TestInstanceMethods < Test::Unit::TestCase def setup @b = Book.new end %w{cleo_id cleo_id= sync_with_cleo set_cleo_id remove_from_cleo to_cleo_result as_cleo}.each do |resp| should "respond to cleo_id and cleo_id=" do assert @b.respond_to?(resp), "ActiveRecord Model with acts_as_cleo should respond to #{resp}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_cleo-0.0.3 | test/unit/test_instance_methods.rb |