Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 2250694

Browse files
committed
add wip cuke showing how to run a spec with the ruby command
- this passes against 2.6.4, but fails against the current code, probably related to #379 (which turns out to be a dup of #14)
1 parent 75c2cee commit 2250694

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

features/command_line/ruby.feature

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Feature: run with ruby command
2+
3+
@wip
4+
Scenario:
5+
Given a file named "example_spec.rb" with:
6+
"""
7+
require 'rspec/autorun'
8+
9+
describe 1 do
10+
it "is < 2" do
11+
1.should be < 2
12+
end
13+
end
14+
"""
15+
When I run `ruby example_spec.rb`
16+
Then the output should contain "1 example, 0 failures"

0 commit comments

Comments
 (0)