Sha256: 1c743ce4852982fc708ee3064179d6bef848a0dd5fd6401ca2a010214c0c9f89

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'test_helper'
require 'rails/performance_test_help'

class CardCreateTest < ActionDispatch::PerformanceTest
  def initialize *args
    @name = 'CardA'
    super *args
    Card::Auth.as Card::WagnBotID
  end

  def test_card_create_simple
    Card.create name: @name, content: 'test content'
    @name = @name.next
  end

  def test_card_create_links
    Card.create name: @name, content: 'test [[CardA]]'
    @name = @name.next
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wagn-1.18.6 test/performance/card_create_test.rb
wagn-1.18.5 test/performance/card_create_test.rb
wagn-1.18.4 test/performance/card_create_test.rb
wagn-1.18.3 test/performance/card_create_test.rb
wagn-1.18.2 test/performance/card_create_test.rb
wagn-1.18.1 test/performance/card_create_test.rb
wagn-1.18.0 test/performance/card_create_test.rb