Sha256: 682853161544b5fc026b80508d93d6c845922193c1e279f2261dc1439300caec

Contents?: true

Size: 942 Bytes

Versions: 32

Compression:

Stored size: 942 Bytes

Contents

# Copyright © 2012 The Pennsylvania State University
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FactoryGirl.define do
  factory :user, :class => User do |u|
    email 'jilluser@example.com'
    password 'password'
  end

  factory :archivist, :class => User do |u|
    email 'archivist1@example.com'
    password 'password'
  end

  factory :curator, :class => User do |u|
    email 'curator1@example.com'
    password 'password'
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
hydra-collections-3.0.0.beta3 spec/factories/users.rb
hydra-collections-2.0.5 spec/factories/users.rb
hydra-collections-2.0.4 spec/factories/users.rb
hydra-collections-2.0.3 spec/factories/users.rb
hydra-collections-2.0.2 spec/factories/users.rb
hydra-collections-2.0.1 spec/factories/users.rb
hydra-collections-2.0.0 spec/factories/users.rb
hydra-collections-1.3.2 spec/factories/users.rb
hydra-collections-1.3.1 spec/factories/users.rb
hydra-collections-1.3.0 spec/factories/users.rb
hydra-collections-1.2.0 spec/factories/users.rb
hydra-collections-1.2.0.rc1 spec/factories/users.rb
hydra-collections-1.1.0 spec/factories/users.rb
hydra-collections-1.0.0 spec/factories/users.rb
sufia-2.0.1 spec/factories/users.rb
sufia-2.0.0 spec/factories/users.rb
sufia-1.3.0 spec/factories/users.rb
hydra-collections-0.0.2 spec/factories/users.rb
sufia-1.2.0 spec/factories/users.rb
hydra-collections-0.0.1 spec/factories/users.rb