Sha256: 9ed35dbc87776cd3bb956ddfe4cdc79dc0f8c8e84ee80bab6c6e591c423d6598

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

require 'test_helper'

describe 'Testing reset' do
  let(:order) { Order.new }

  def setup
    reset_order
    Order.add_to_flags :a
  end

  it 'reset hard' do
    refute_equal [], Order.add_to_flags.names
    Order.act_with_flags&.reset
    assert_equal [], Order.add_to_flags.names
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
act_with_flags-0.2.4 test/reset_test.rb
act_with_flags-0.2.3 test/reset_test.rb
act_with_flags-0.2.0 test/reset_test.rb