Create system comments on events
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
require "test_helper"
|
||||
|
||||
class Card::CloseableTest < ActiveSupport::TestCase
|
||||
setup do
|
||||
Current.session = sessions(:david)
|
||||
end
|
||||
|
||||
test "closed scope" do
|
||||
assert_equal [ cards(:shipping) ], Card.closed
|
||||
assert_not_includes Card.open, cards(:shipping)
|
||||
|
||||
Reference in New Issue
Block a user