Sha256: f698884bb20daadf811e826564c653705c4a801a1f64ae6e09e80e09a958c8a6

Contents?: true

Size: 552 Bytes

Versions: 16

Compression:

Stored size: 552 Bytes

Contents

When /^I fill out a comment form$/ do
  fill_in 'Subject', with: 'Comment 1'
  fill_in 'Text', with: 'Dummy 1'
end

When /^I fill out a comment's comment form$/ do
  fill_in 'Subject', with: 'Comment 2'
  fill_in 'Text', with: 'Dummy 2'
end

Then /^I should see the comment$/ do
  steps %{
    Then I should see "Comment 1"
    And I should see "Dummy 1"
  }
end

Then /^I should see the comment's comment$/ do
  page.should have_xpath(
    '//div[@class="nested_comments"]//div[@class="comment"]//div[@class="content"]//p',
    text: 'Dummy 2'
  )
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
voluntary-0.5.1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.5.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.4.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.3.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.2.4 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.2.3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.2.2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.2.1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.2.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.1.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.1.0.rc4 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.1.0.rc3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.1.0.rc2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.1.0.rc1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.0.3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
voluntary-0.0.2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb