Sha256: c4eb2df13260bfe7b0ed19d29fcae172c979a9932a70423d58e9b4fcd9218773

Contents?: true

Size: 380 Bytes

Versions: 12

Compression:

Stored size: 380 Bytes

Contents

Then /^I should see a comment by "([^"]*)"$/ do |name|
  step %{I should see "#{name}" within ".active_admin_comment_author"}
end

When /^I add a comment "([^"]*)"$/ do |comment|
  step %{I fill in "active_admin_comment_body" with "#{comment}"}
  step  %{I press "Add Comment"}
end

Given /^a tag with the name "([^"]*)" exists$/ do |tag_name|
  Tag.create(:name => tag_name)
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
activeadmin-0.6.6 features/step_definitions/comment_steps.rb
activeadmin-0.6.5 features/step_definitions/comment_steps.rb
activeadmin-0.6.4 features/step_definitions/comment_steps.rb
yousty-activeadmin-1.0.4.pre features/step_definitions/comment_steps.rb
yousty-activeadmin-1.0.3.pre features/step_definitions/comment_steps.rb
yousty-activeadmin-1.0.2.pre features/step_definitions/comment_steps.rb
activeadmin-0.6.3 features/step_definitions/comment_steps.rb
yousty-activeadmin-1.0.1.pre features/step_definitions/comment_steps.rb
yousty-activeadmin-1.0.0.pre features/step_definitions/comment_steps.rb
activeadmin-0.6.2 features/step_definitions/comment_steps.rb
activeadmin-0.6.1 features/step_definitions/comment_steps.rb
aa-rails4-0.6.0 features/step_definitions/comment_steps.rb