Sha256: 02f4b735874789532f79bc2e19583ddacbcdfa684cc4bbb9ce0ce073ca0cb63b

Contents?: true

Size: 474 Bytes

Versions: 14

Compression:

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

14 entries across 14 versions & 1 rubygems

Version Path
wagn-1.17.4 test/performance/card_create_test.rb
wagn-1.17.3 test/performance/card_create_test.rb
wagn-1.17.2 test/performance/card_create_test.rb
wagn-1.17.1 test/performance/card_create_test.rb
wagn-1.17.0 test/performance/card_create_test.rb
wagn-1.16.15 test/performance/card_create_test.rb
wagn-1.16.14 test/performance/card_create_test.rb
wagn-1.16.13 test/performance/card_create_test.rb
wagn-1.16.12 test/performance/card_create_test.rb
wagn-1.16.11 test/performance/card_create_test.rb
wagn-1.16.10 test/performance/card_create_test.rb
wagn-1.16.9 test/performance/card_create_test.rb
wagn-1.16.8 test/performance/card_create_test.rb
wagn-1.16.7 test/performance/card_create_test.rb