Sha256: 02c28ac46c69eadf809ebe21eb0661699731f965665ec03754d36babf5243aff

Contents?: true

Size: 203 Bytes

Versions: 21

Compression:

Stored size: 203 Bytes

Contents

require 'spec_helper'

describe Alchemy::User do
  
  it "should have a role" do
    @user = Factory.build(:user)
    @user.save_without_session_maintenance
    @user.role.should_not be_nil
  end
  
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
alchemy_cms-2.1.beta5 spec/models/user_spec.rb