Sha256: 501a4cf8e13a4da0765b7dc30ff595ef5d1fdd8440a68f4d146d93ef8f720d87

Contents?: true

Size: 511 Bytes

Versions: 102

Compression:

Stored size: 511 Bytes

Contents

module SpecSetup
  def load_scripts(path, dt)
    Marty::Script.load_scripts(path, dt)
    Marty::ScriptSet.clear_cache
  end

  def posting(type, dt, comment)
    Marty::Posting.clear_lookup_cache!
    Marty::Posting.do_create(type, dt, comment)
  end

  def dg_from_import(*args)
    Marty::DataGrid.create_from_import(*args)
  end

  def marty_whodunnit
    Mcfly.whodunnit = Marty::User.find_by_login('marty')
  end

  def do_import_summary(*args)
    Marty::DataImporter.do_import_summary(*args)
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
marty-2.4.0 spec/support/spec_setup.rb
marty-2.3.14 spec/support/spec_setup.rb
marty-2.3.13 spec/support/spec_setup.rb
marty-2.3.12 spec/support/spec_setup.rb
marty-2.3.11 spec/support/spec_setup.rb
marty-2.3.10 spec/support/spec_setup.rb
marty-2.3.9 spec/support/spec_setup.rb
marty-2.3.8 spec/support/spec_setup.rb
marty-2.3.7 spec/support/spec_setup.rb
marty-2.3.5 spec/support/spec_setup.rb
marty-2.3.4 spec/support/spec_setup.rb
marty-2.1.5 spec/support/spec_setup.rb
marty-2.3.2 spec/support/spec_setup.rb
marty-2.3.1 spec/support/spec_setup.rb
marty-2.3.0 spec/support/spec_setup.rb
marty-2.1.4 spec/support/spec_setup.rb
marty-2.1.3 spec/support/spec_setup.rb
marty-2.1.2 spec/support/spec_setup.rb
marty-2.1.1 spec/support/spec_setup.rb
marty-2.1.0 spec/support/spec_setup.rb