Sha256: e8007bb2a5564ce6ce1bcc74443f819719aceac21f38666e48e6302d31b2b03f

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

Given /^"([^\"]*)" has bookmarked an item with title "([^\"]*)"$/ do |user, title|
  user = User.find_by_email("#{user}@#{user}.com")
  user.bookmarks <<  Bookmark.create(:title => title, :document_id => "123456")
  user.save!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-3.0.0pre6 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.0.0pre4 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.0.0pre3 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.0pre2 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.0pre1 test_app/features/step_definitions/bookmarks_steps.rb