Skip to content

Commit

Permalink
Use is: and is_not: in tests since it's less noisy and reads nicer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Jun 29, 2011
1 parent 585d484 commit 656e9df
Show file tree
Hide file tree
Showing 26 changed files with 869 additions and 858 deletions.
4 changes: 2 additions & 2 deletions tests/argv.fy
@@ -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$/
} }
} }

0 comments on commit 656e9df

Please sign in to comment.