Sha256: 72bea104ab78fff744b02206c904ea91fe17edd3a4d725f1cc532dc37a7c4765

Contents?: true

Size: 263 Bytes

Versions: 5

Compression:

Stored size: 263 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
active_fedora-noid-2.0.0.beta5 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0.beta4 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0.beta3 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0.beta2 spec/support/minterstate_table.rb
active_fedora-noid-2.0.0.beta1 spec/support/minterstate_table.rb