This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.dirname(__FILE__) + '/../test_helper' | |
class EditorActionsTest < ActionController::IntegrationTest | |
# CNK not sure if we are going to use fixtures | |
# I would prefer to use factories but am having trouble with that | |
# fixtures :users, :roles, :roles_users, :pages | |
def setup | |
@home_page = Factory.create_home_page | |
@editor = Factory.create_user_with_role('editor', :login => 'abenter', :email => '[email protected]', :password => 'abenter', :password_confirmation => 'abenter') |