Sha256: b462dacfc0c55b51fd06f2aaa2f360062f3ab8f1cf887e68cd92906135934a94

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

require 'spec_helper'

describe 'Alchemy::AuthAccessors' do
  describe '.user_class' do
    it "injects userstamp class methods" do
      Alchemy.user_class.should respond_to(:stamper_class_name)
      Alchemy.user_class.stamper_class_name.should eq(:DummyUser)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.3 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.2 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.1 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.0 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.0.rc8 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.0.rc7 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.0.rc6 spec/libraries/userstamp_spec.rb
alchemy_cms-3.0.0.rc5 spec/libraries/userstamp_spec.rb