Sha256: e252eea99238c3f46e7862729ba555c57b1a5f5d5300c7a1fbdb985777612f70
Contents?: true
Size: 481 Bytes
Versions: 16
Compression:
Stored size: 481 Bytes
Contents
require 'test_helper' class UserTest < ActiveSupport::TestCase context "user" do setup do @user = Factory(:user) end context "after applied acts_as_mail_receiver" do should "has payload_columns class attr" do assert_equal User.payload_columns.sort, ["firstname", "lastname"].sort end should "has groups class attr" do assert_equal User.groups.sort, ["all", "english_users", "chinese_users"].sort end end end end
Version data entries
16 entries across 16 versions & 1 rubygems