Sha256: 454a1c2af595b67380747a252a038c94c4c4e2acd88e70045870cb172dc25c3b

Contents?: true

Size: 293 Bytes

Versions: 6

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true
module MinterStateHelper
  # Simple truncation is not enough, since we also need seed data
  def reset_minter_state_table
    MinterState.destroy_all
    MinterState.create!(
      namespace: 'default',
      template: '.reeddeeddk',
      seq: 0
    )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_fedora-noid-2.2.0 spec/support/minterstate_table.rb
active_fedora-noid-2.1.0 spec/support/minterstate_table.rb
active_fedora-noid-2.0.2 spec/support/minterstate_table.rb
active_fedora-noid-2.0.1 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0.beta6 spec/support/minterstate_table.rb