Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use non-capturing groups to illustrate workaround for [#246 state:won…

…tfix]
  • Loading branch information...
commit 30b83a3ebf3b2cec3ca7d8f927d75bf665e04eb8 1 parent 28b6413
Aslak Hellesøy authored
4  examples/tickets/features/246.feature
... ...
@@ -0,0 +1,4 @@
  1
+Feature: https://rspec.lighthouseapp.com/projects/16211/tickets/246-distorted-console-output-for-slightly-complicated-step-regexp-match
  2
+
  3
+Scenario: See "No Record(s) Found" for Zero Existing
  4
+   Given no public holiday exists in the system
3  examples/tickets/features/step_definitons/246_steps.rb
... ...
@@ -0,0 +1,3 @@
  1
+Given /^no ([a-z]+(?: [a-z]+)*) exists in the system$/ do |resource|
  2
+  resource.should == "public holiday"
  3
+end

0 notes on commit 30b83a3

Please sign in to comment.
Something went wrong with that request. Please try again.