Created
June 24, 2010 03:36
-
-
Save justinko/450940 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git features/command_line/exit_status.feature features/command_line/exit_status.feature | |
index b0c23f8..070831f 100644 | |
--- features/command_line/exit_status.feature | |
+++ features/command_line/exit_status.feature | |
@@ -47,3 +47,13 @@ Feature: exit status | |
""" | |
1 example, 1 failure | |
""" | |
+ | |
+ Scenario: exit with 0 when no examples are run | |
+ Given a file named "no_examples_spec.rb" with: | |
+ """ | |
+ """ | |
+ When I run "rspec no_examples_spec.rb" | |
+ Then it should pass with: | |
+ """ | |
+ 0 examples, 0 failures | |
+ """ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment