Sha256: e22141a8f63bd9962a44410ad9d84a46fd2678c069cea5d2c7685d8b23dd3900
Contents?: true
Size: 418 Bytes
Versions: 19
Compression:
Stored size: 418 Bytes
Contents
require File.join(File.dirname(__FILE__), '/../../test_helper') class GroupTest < ActiveSupport::TestCase def test_valid assert Factory.build(:group).valid? end test "Find guest group via method" do expected = Group.find_by_code(Group::GUEST_CODE) assert_not_nil expected, "Validates that our fixture code is loading a guest user into the database." assert_equal expected, Group.guest end end
Version data entries
19 entries across 19 versions & 6 rubygems