Sha256: 4769fb95512a1d15ce9b6e3943c609a6adb4bc20659f0ea39b435e41a155ed86
Contents?: true
Size: 467 Bytes
Versions: 14
Compression:
Stored size: 467 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class UserTest < ActiveSupport::TestCase context 'A user instance with has_muck_profile' do setup do @user = Factory(:user) end should_accept_nested_attributes_for :profile should_have_one :profile should "have a profile after creation" do assert @user.profile end should "have a photo method delegated to the profile" do assert @user.photo end end end
Version data entries
14 entries across 14 versions & 1 rubygems