Sha256: 3bf5ac84fda602503ac1b2de584b4afae06bb758b8db0ed0fcc60f8def48bb33

Contents?: true

Size: 481 Bytes

Versions: 34

Compression:

Stored size: 481 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

34 entries across 34 versions & 1 rubygems

Version Path
wagn-1.16.6 test/performance/card_create_test.rb
wagn-1.16.5 test/performance/card_create_test.rb
wagn-1.16.4 test/performance/card_create_test.rb
wagn-1.16.3 test/performance/card_create_test.rb
wagn-1.16.2 test/performance/card_create_test.rb
wagn-1.16.1 test/performance/card_create_test.rb
wagn-1.16.0 test/performance/card_create_test.rb
wagn-1.15.7 test/performance/card_create_test.rb
wagn-1.15.6 test/performance/card_create_test.rb
wagn-1.15.5 test/performance/card_create_test.rb
wagn-1.15.4 test/performance/card_create_test.rb
wagn-1.15.3 test/performance/card_create_test.rb
wagn-1.15.2 test/performance/card_create_test.rb
wagn-1.15.1 test/performance/card_create_test.rb
wagn-1.15.0 test/performance/card_create_test.rb
wagn-1.15.pre2 test/performance/card_create_test.rb
wagn-1.15.pre test/performance/card_create_test.rb
wagn-1.14.9 test/performance/card_create_test.rb
wagn-1.14.8 test/performance/card_create_test.rb
wagn-1.14.7 test/performance/card_create_test.rb