Skip to content

Commit

Permalink
removed default parameter value from something_has_changed method a…
Browse files Browse the repository at this point in the history
…nd added the reflections to the test
  • Loading branch information
hltbra committed May 21, 2010
1 parent 5bdf909 commit 480c248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/something_has_changed_spec.py
Expand Up @@ -11,9 +11,9 @@ def setUp(self):
env.reset()

def should_be_true_if_there_are_changes_and_false_if_not(self):
before = something_has_changed(TEST_OUTPUT_DIR)
before = something_has_changed(TEST_OUTPUT_DIR, '*.py')
env.writefile('dummy.py', 'dummy')
after = something_has_changed(TEST_OUTPUT_DIR)
after = something_has_changed(TEST_OUTPUT_DIR, '*.py')
after |should_be| True
before |should_be| False

Expand Down

0 comments on commit 480c248

Please sign in to comment.