Sha256: 45e4bde6babf36ad3f7e5363c097ba491b4bbe31bc9fcb568f6bec1b75ac6d36
Contents?: true
Size: 419 Bytes
Versions: 7
Compression:
Stored size: 419 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class InviteTest < ActiveSupport::TestCase context "Invite" do setup do @user = Factory(:user) @invitee = Factory(:invitee) @invite = Invite.create(:inviter => @user, :invitee => @invitee, :user => @user) end subject { @invite } should_belong_to :user should_belong_to :inviter should_belong_to :invitee end end
Version data entries
7 entries across 7 versions & 1 rubygems