Sha256: a13a618236306afa9073368e08f6f3b6c4ec983f42f15ed669377a26ed51bae3
Contents?: true
Size: 304 Bytes
Versions: 8
Compression:
Stored size: 304 Bytes
Contents
Given /^there exists a(?:n?) audience "([^"]*)"$/ do |name| Factory :audience, :name => name end Given /^I have "([^"]*)" as my audience$/ do |name| audience = Audience.find_by_name(name) || Factory(:audience, :name => name) me = User.first me.profile.audience = audience me.profile.save! end
Version data entries
8 entries across 8 versions & 1 rubygems