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.12 spec/models/user_spec.rb
alchemy_cms-2.1.11 spec/models/user_spec.rb
alchemy_cms-2.1.9.1 spec/models/user_spec.rb
alchemy_cms-2.1.9 spec/models/user_spec.rb
alchemy_cms-2.1.8.1 spec/models/user_spec.rb
alchemy_cms-2.1.8 spec/models/user_spec.rb
alchemy_cms-2.1.7 spec/models/user_spec.rb
alchemy_cms-2.1.6 spec/models/user_spec.rb
alchemy_cms-2.1.5 spec/models/user_spec.rb
alchemy_cms-2.1.4 spec/models/user_spec.rb
alchemy_cms-2.1.3 spec/models/user_spec.rb
alchemy_cms-2.1.2 spec/models/user_spec.rb
alchemy_cms-2.1.1 spec/models/user_spec.rb
alchemy_cms-2.1 spec/models/user_spec.rb
alchemy_cms-2.1.rc6 spec/models/user_spec.rb
alchemy_cms-2.1.rc5 spec/models/user_spec.rb
alchemy_cms-2.1.rc4 spec/models/user_spec.rb
alchemy_cms-2.1.rc3 spec/models/user_spec.rb
alchemy_cms-2.1.rc2 spec/models/user_spec.rb
alchemy_cms-2.1.beta6 spec/models/user_spec.rb