Created
May 16, 2011 15:34
-
-
Save crystalneth/974663 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
context "collapse without target" do | |
setup do | |
TrackEvent.track_collapse(1.hour, @user, 'test', @project) | |
TrackEvent.track_collapse(1.hour, @user, 'test', @project) | |
end | |
should_change("number of events", :by => 1) { TrackEvent.count } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment