Sha256: 885a1f0d71d4513ad1dbd801d8471da828fafa482091524fff9cbee508714edb
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
require 'test_helper' describe 'Delete from Flags' do let(:order) { Order.new } def setup reset_order Order.add_to_flags a: 1, b: 7, c: 3 order.a = order.b = order.c = true end it 'remove accessors' do Order.remove_from_flags :b assert_raises { order.b } refute Order.respond_to?(:b) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
act_with_flags-0.0.7 | test/remove_from_test.rb |
act_with_flags-0.0.6 | test/remove_from_test.rb |
act_with_flags-0.0.4 | test/remove_from_test.rb |