Sha256: 968cf26b06f6d2542f2743564247fe86d5d11f57a21a981ce3afc2d092f58e01
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
require 'spec/spec_helper' describe ShopPayment do dataset :shop_orders, :shop_payments describe 'relationships' do context 'order' do before :each do @order = shop_orders(:several_items) end it 'should belong to one' do @payment = shop_payments(:visa) @payment.order.should === @order end end end end
Version data entries
7 entries across 7 versions & 1 rubygems