Sha256: a90b645d4504f3553b0f0cf90d223f9f656d114cc38347392932f5319ca542a8
Contents?: true
Size: 353 Bytes
Versions: 7
Compression:
Stored size: 353 Bytes
Contents
Then /^I should see "(.*?)" comment with author$/ do |comment| within('#admin_comments') do page.should have_content(comment) page.should have_content(@me.name) end end Given /^comment "(.*?)" exists$/ do |comment| AdminComment.create(resource_id: @product.id, resource_type: 'Product', body: comment) do |c| c.author = @me end end
Version data entries
7 entries across 7 versions & 1 rubygems