Sha256: 953d9016e8c0b680d5429c36243f49c7ee49561b4e9be197faced33db01c1034
Contents?: true
Size: 537 Bytes
Versions: 17
Compression:
Stored size: 537 Bytes
Contents
require 'test_helper' class GeoCerts::Order::AdministratorTest < Test::Unit::TestCase context 'Order::Administrator' do [ :email, :first_name, :last_name, :phone ].each do |method| should "respond to #{method}" do assert_respond_to(GeoCerts::Order::Administrator.new, method) end should "properly set the #{method}" do assert_equal('test', GeoCerts::Order::Administrator.new(method => 'test').__send__(method)) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems