Sha256: 00025b58cbb2478a25de687312327f083d12f38501012214bfe1ca4ea592946e

Contents?: true

Size: 258 Bytes

Versions: 39

Compression:

Stored size: 258 Bytes

Contents

# -*- encoding : utf-8 -*-
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

39 entries across 39 versions & 2 rubygems

Version Path
blacklight-4.3.0 features/step_definitions/bookmarks_steps.rb
blacklight-4.2.2 features/step_definitions/bookmarks_steps.rb
blacklight-4.2.1 features/step_definitions/bookmarks_steps.rb
blacklight-4.2.0 features/step_definitions/bookmarks_steps.rb
blacklight-4.1.0 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.1 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.8.2 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.0 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.0.rc2 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.0.rc1 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.0.pre7 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-4.0.0.pre6 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.8.1 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.8.0 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.7.2 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.7.1 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.7.0 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.6.1.1 test_support/features/step_definitions/bookmarks_steps.rb
blacklight-3.6.0 test_support/features/step_definitions/bookmarks_steps.rb
atrium-0.0.1 test_support/features/step_definitions/bookmarks_steps.rb