Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use is: and is_not: in tests since it's less noisy and reads nicer.
- Loading branch information
Showing
26 changed files
with
869 additions
and
858 deletions.
There are no files selected for viewing
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,10 +1,10 @@ | |||
FancySpec describe: "ARGV & predefined values" with: { | FancySpec describe: "ARGV & predefined values" with: { | ||
it: "has ARGV correctly defined" when: { | it: "has ARGV correctly defined" when: { | ||
ARGV empty? is_not == true | ARGV empty? is_not: true | ||
} | } | ||
|
|
||
it: "has a __FILE__ variable defined" when: { | it: "has a __FILE__ variable defined" when: { | ||
__FILE__ is_not == nil | __FILE__ is_not: nil | ||
__FILE__ is =~ /\/argv.fy$/ | __FILE__ is =~ /\/argv.fy$/ | ||
} | } | ||
} | } |
Oops, something went wrong.