Sha256: 7eff5a13525ae215f0e39ecb435c5c9c8b2f8fc640f0caba379491f6bc15e912
Contents?: true
Size: 261 Bytes
Versions: 6
Compression:
Stored size: 261 Bytes
Contents
class UsersAndPagesScenario < Scenario::Base uses :pages, :users def load UserActionObserver.current_user = users(:admin) Page.update_all "created_by_id = #{user_id(:admin)}, updated_by_id = #{user_id(:admin)}" create_page "No User" end end
Version data entries
6 entries across 6 versions & 1 rubygems