Sha256: 863f4aac776927a51e70c8268789701705f5d4bb68638d299e52a4b11a5f0801

Contents?: true

Size: 478 Bytes

Versions: 7

Compression:

Stored size: 478 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'test_helper'
require 'rails/performance_test_help'
 
class CardCreateTest < ActionDispatch::PerformanceTest

  def initialize *args
    @name = 'CardA'
    super *args
    Account.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.12.13 test/performance/card_create_test.rb
wagn-1.12.12 test/performance/card_create_test.rb
wagn-1.12.11 test/performance/card_create_test.rb
wagn-1.12.10 test/performance/card_create_test.rb
wagn-1.12.9 test/performance/card_create_test.rb
wagn-1.12.8 test/performance/card_create_test.rb
wagn-1.12.7 test/performance/card_create_test.rb