Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup favorite references on item deletion
- Loading branch information
blahed
committed
Nov 15, 2012
1 parent
0beaceb
commit 9096a7d
Showing
4 changed files
with
25 additions
and
10 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
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
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
require "minitest_helper" | ||
require 'minitest_helper' | ||
|
||
describe Favorite do | ||
before do | ||
@favorite = Favorite.new | ||
end | ||
|
||
it "must be valid" do | ||
@favorite.valid?.must_equal true | ||
end | ||
end |
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