3

Is there something similar to Cucumber's multi-example tables (using pickle) for Rspec acceptance specs (capybara)?

Would be very convenient for testing multiple scenarios and outcomes without having to recreate each spec with only minor parameter differences.

avocade
  • 1,313
  • 1
  • 14
  • 19

1 Answers1

0

You can put a spec in an each block, or put an each block in a spec.

But I'd recommend using Cucumber. RSpec acceptance tests are quite painful by comparison.

Marnen Laibow-Koser
  • 5,959
  • 1
  • 28
  • 33