Sha256: 2db7b7840e8665245e649df3770c5362079114f5a9874212a92d40d1289d72ab
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 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