Sha256: e69e07642f7b8beabfbb5bf35ac7875eb72b6bdacc01e507ba6c75a0e3d5473e
Contents?: true
Size: 640 Bytes
Versions: 13
Compression:
Stored size: 640 Bytes
Contents
Given /^(?:|I )am signed in as (Test|Publisher) User$/ do |user_type| step "#{user_type} User exists" @current_user.authentication_token.should be_present visit crowdblog_path + "?auth_token=#{@current_user.authentication_token}" end Given /^(?:|the )Test User exists$/ do @current_user = Crowdblog::User.find_by_email('test@crowdint.com') @current_user = Fabricate(:user_test) unless @current_user end Given /^(?:|the )Publisher User exists$/ do @current_user = Crowdblog::User.find_by_email('publisher@crowdint.com') @current_user = Fabricate(:user_publisher) unless @current_user @publisher_user = @current_user end
Version data entries
13 entries across 13 versions & 1 rubygems