Sha256: 4fe534a38e60c70d1e5ec03358c9e42b87cd461d60cb0f5a0dcc366d29209718
Contents?: true
Size: 332 Bytes
Versions: 8
Compression:
Stored size: 332 Bytes
Contents
require "test_helper" describe "Delete from Flags" do let(:order) { Order.create } 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
8 entries across 8 versions & 1 rubygems