siringa 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGIxNzZkYjA3ZmM5MmU2MTM1OTVmOTNmM2NiNDhmNmI2M2UxMzgzMw==
4
+ MDA0YjA3MzI2MWE2NDBiYjYzMTg3NGNjNmYzYWMxN2E3ZGZjZmIwNA==
5
5
  data.tar.gz: !binary |-
6
- NWZiYWE3MTIzMjI1NTE0YzJjZjhiYzJmNGRiMzlhYjQyOTA4MGZjMw==
6
+ YWM2NzI1MWEwOTI4YWRkOTBjYjk4YjJmOWFhMzkyNTgxNWYyZjczYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjM1NDczYWU5N2JjMjA1YTY0MTIwMjQzZjljMjZlNzBkMDQ3NjYxZDYwOGQw
10
- ZTBlZTc2ZDRiMjhkNTI1N2QwNmY2YWYwNzQ4NzVlYTliMmQxNmJjNThmNjI2
11
- YmM1MGRlMjQ0MWEyMTIzN2E2OTBjYWIwNDU1YTU3MTViOWRkZmM=
9
+ ZWNhZjAzNTMyY2YxZTA5NWY5N2NiYmUwYmM2NDBmYzA3NmY3ODFhMWMxNzA3
10
+ N2U5Nzg2NmUwZTNiNjI3ZmIzZDIxM2Y2YmI2M2VkOWVhMjVjNGRmMWZhNDky
11
+ MzZiZGI3MDNlZmYwZjYwM2MyMjcxYmI0OGVhNjc4ZDJhZmU3OWE=
12
12
  data.tar.gz: !binary |-
13
- NDdmYzI2ZmRjOGQ2MWRiMDE0NDc2MGZiYTA5MTEyNWIxNGIxMzc1MTgwZjg0
14
- NmEyMzNhNzgyMmE3ZjcyZmJmOWIzNWYwYTE0Y2JmZTUyYTRmNWRlNTcyOTJk
15
- MmVhYmU3YjA1MmYwNDNhYzdjOTMxMTcwMTk2NzM0ZGNmNmY0MDQ=
13
+ NDE2NWE2NzQ3NWQ5NjdjOGE2YjRhY2E3ZDk4MmYxOGVkNzY2OTE3ZWMxZThm
14
+ MjU1NjE0Mjg2NjM0NTI1NDM1ZmQ1ZjIyYzgyMGM2OGI4NDZiZmRmZDdiOTNm
15
+ ODY0MGJiZjZiODg2ZDY0OGZiZGQ1ZWM0OTc4ZjhiYTJkMjE3OGE=
data/README.md CHANGED
@@ -113,17 +113,15 @@ The workflow I propose here is:
113
113
  Please note that the `Siringa::restore` method only use the latest dump file created, older dump files in the `tmp/dumps` folder will be ignored.
114
114
 
115
115
  ## Customize Siringa
116
- You could customize Siringa changing the configuration stored in the initializer:
116
+ You could customize Siringa changing the configuration in the environment where you load Siringa:
117
117
  ```ruby
118
- # config/initializers/siringa.rb
118
+ # config/environments/test.rb
119
119
  Siringa.configure do |config|
120
120
  # customize the path where the definitions are stored
121
121
  config.definitions_path = 'test/siringa'
122
122
  # customize the path where the DB dumps are stored
123
123
  config.dumps_path = 'tmp/dumps'
124
124
  end
125
-
126
- Siringa.load_definitions
127
125
  ```
128
126
  ## Acceptance test example
129
127
  Just to get the idea, the following script will show you how to use Siringa in a acceptance test using Selenium, [rest-client](https://github.com/rest-client/rest-client) and RSpec:
@@ -13,13 +13,13 @@ module Siringa
13
13
  end
14
14
 
15
15
  def dump
16
+ Siringa.keep_five_dumps(Siringa.ordered_dumps)
16
17
  result = Siringa.dump_to(Siringa.dump_file_name)
17
- if result[:success]
18
- Siringa.keep_five_dumps(Siringa.ordered_dumps)
19
- resp = { :text => "DB dumped at #{result[:file_name]}",
18
+ if result[:status]
19
+ resp = { :text => "DB dumped at #{result[:dump_path]}",
20
20
  :status => :created }
21
21
  else
22
- resp = { :text => "DB dump FAILED!\nError:\n#{result[:output]}",
22
+ resp = { :text => "DB dump FAILED!\nError:\n#{result[:error]}",
23
23
  :status => :internal_server_error }
24
24
  end
25
25
 
@@ -30,11 +30,11 @@ module Siringa
30
30
  last_dump = Siringa.ordered_dumps.last
31
31
  if last_dump
32
32
  result = Siringa.restore_from(last_dump)
33
- if result[:success]
34
- resp = { :text => "DB restored from #{result[:file_name]}",
33
+ if result[:status]
34
+ resp = { :text => "DB restored from #{result[:dump_path]}",
35
35
  :status => :accepted }
36
36
  else
37
- resp = { :text => "DB restore FAILED!\nError:\n#{result[:output]}",
37
+ resp = { :text => "DB restore FAILED!\nError:\n#{result[:error]}",
38
38
  :status => :internal_server_error }
39
39
  end
40
40
  else
@@ -1,9 +1,2 @@
1
1
  # config/initializers/siringa.rb
2
- Siringa.configure do |config|
3
- # customize the path where the definitions are stored
4
- # config.definitions_path = 'test/siringa'
5
- # customize the path where the dumps are stored
6
- # config.dumps_path = 'tmp/dumps'
7
- end
8
-
9
- Siringa.load_definitions
2
+ Siringa.load_definitions if defined? Siringa
@@ -1,3 +1,5 @@
1
+ require 'open3'
2
+
1
3
  module Siringa
2
4
 
3
5
  # Generate dump file name
@@ -12,17 +14,17 @@ module Siringa
12
14
  # @param [String] dump path
13
15
  # @return [Object]
14
16
  def self.dump_to(dump_path)
15
- adapter_config = ActiveRecord::Base.connection.instance_values["config"]
17
+ result = {}
16
18
  case adapter_config[:adapter]
17
19
  when "mysql", "mysql2"
18
- output = %x(/usr/bin/env mysqldump -uroot #{adapter_config[:database]} > #{dump_path})
20
+ _, result[:error], result[:status] = Open3.capture3(mysql_dump_command(adapter_config[:database], dump_path))
19
21
  when "sqlite3"
20
- output = %x(/usr/bin/env sqlite3 #{adapter_config[:database]} '.backup #{dump_path}')
22
+ _, result[:error], result[:status] = Open3.capture3(sqlite_dump_command(adapter_config[:database], dump_path))
21
23
  else
22
24
  raise NotImplementedError, "Unknown adapter type '#{adapter_config[:adapter]}'"
23
25
  end
24
26
 
25
- { :success => $?.success?, :output => output, :dump_path => dump_path }
27
+ { :status => result[:status].success?, :error => result[:error], :dump_path => dump_path }
26
28
  end
27
29
 
28
30
  # Restore from a DB dump
@@ -30,17 +32,17 @@ module Siringa
30
32
  # @param [String] dump path
31
33
  # @return [Object]
32
34
  def self.restore_from(dump_path)
33
- adapter_config = ActiveRecord::Base.connection.instance_values["config"]
35
+ result = {}
34
36
  case adapter_config[:adapter]
35
37
  when "mysql", "mysql2"
36
- output = %x(/usr/bin/env mysql -uroot #{adapter_config[:database]} < #{dump_path})
38
+ _, result[:error], result[:status] = Open3.capture3(mysql_restore_command(adapter_config[:database], dump_path))
37
39
  when "sqlite3"
38
- output = %x(/usr/bin/env sqlite3 #{adapter_config[:database]} '.restore #{dump_path}')
40
+ _, result[:error], result[:status] = Open3.capture3(sqlite_restore_command(adapter_config[:database], dump_path))
39
41
  else
40
42
  raise NotImplementedError, "Unknown adapter type '#{adapter_config[:adapter]}'"
41
43
  end
42
44
 
43
- { :success => $?.success?, :output => output, :dump_path => dump_path }
45
+ { :status => result[:status].success?, :error => result[:error], :dump_path => dump_path }
44
46
  end
45
47
 
46
48
  # Delete oldest dump files, keep 5 dump files
@@ -63,4 +65,47 @@ module Siringa
63
65
  Dir.glob("#{Siringa.configuration.dumps_path}/db_*.dump").sort_by { |f| File.mtime(f) }
64
66
  end
65
67
 
68
+ private
69
+
70
+ # Return a string with the dump command for MySql
71
+ #
72
+ # @param database [String]
73
+ # @param dump_path [String]
74
+ # @return [String]
75
+ def self.mysql_dump_command(database, dump_path)
76
+ "/usr/bin/env mysqldump -uroot #{database} > #{dump_path}"
77
+ end
78
+
79
+ # Return a string with the restore command for MySql
80
+ #
81
+ # @param database [String]
82
+ # @param dump_path [String]
83
+ # @return [String]
84
+ def self.mysql_restore_command(database, dump_path)
85
+ "/usr/bin/env mysql -uroot #{database} < #{dump_path}"
86
+ end
87
+
88
+ # Return a string with the dump command for Sqlite
89
+ #
90
+ # @param database [String]
91
+ # @param dump_path [String]
92
+ # @return [String]
93
+ def self.sqlite_dump_command(database, dump_path)
94
+ "/usr/bin/env sqlite3 #{database} '.backup #{dump_path}'"
95
+ end
96
+
97
+ # Return a string with the restore command for Sqlite
98
+ #
99
+ # @param database [String]
100
+ # @param dump_path [String]
101
+ # @return [String]
102
+ def self.sqlite_restore_command(database, dump_path)
103
+ "/usr/bin/env sqlite3 #{database} '.restore #{dump_path}'"
104
+ end
105
+ # Return ActiveRecord adapter config
106
+ #
107
+ # @return [Hash]
108
+ def self.adapter_config
109
+ ActiveRecord::Base.connection.instance_values["config"]
110
+ end
66
111
  end
@@ -1,3 +1,3 @@
1
1
  module Siringa
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -37,3 +37,8 @@ Dummy::Application.configure do
37
37
  # Print deprecation notices to the stderr
38
38
  config.active_support.deprecation = :stderr
39
39
  end
40
+
41
+ Siringa.configure do |config|
42
+ config.definitions_path = 'test/siringa'
43
+ end
44
+
@@ -1,5 +1 @@
1
- Siringa.configure do |config|
2
- config.definitions_path = 'test/siringa'
3
- end
4
-
5
- Siringa.load_definitions
1
+ Siringa.load_definitions if defined? Siringa
Binary file
@@ -1469,3 +1469,1261 @@ Completed 201 Created in 16ms (Views: 0.5ms | ActiveRecord: 2.7ms)
1469
1469
  SiringaTest: test_truth
1470
1470
  -----------------------
1471
1471
   (0.2ms) rollback transaction
1472
+  (0.5ms) begin transaction
1473
+ ----------------------------------------------------------------------------
1474
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
1475
+ ----------------------------------------------------------------------------
1476
+ Processing by Siringa::SiringaController#load as HTML
1477
+ Parameters: {"definition"=>"papapa"}
1478
+ Rendered text template (0.0ms)
1479
+ Completed 405 Method Not Allowed in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
1480
+  (0.1ms) rollback transaction
1481
+  (0.2ms) begin transaction
1482
+ ----------------------------------------------------------------
1483
+ SiringaControllerTest: test_load_action_passing_existing_factory
1484
+ ----------------------------------------------------------------
1485
+ Processing by Siringa::SiringaController#load as HTML
1486
+ Parameters: {"definition"=>"initial"}
1487
+  (0.1ms) SAVEPOINT active_record_1
1488
+ SQL (0.5ms) INSERT INTO "users" DEFAULT VALUES
1489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1490
+ Completed 201 Created in 10ms (Views: 0.4ms | ActiveRecord: 1.1ms)
1491
+  (0.2ms) rollback transaction
1492
+  (0.1ms) begin transaction
1493
+ -----------------------
1494
+ SiringaTest: test_truth
1495
+ -----------------------
1496
+  (0.1ms) rollback transaction
1497
+  (0.5ms) begin transaction
1498
+ ----------------------------------------------------------------------------
1499
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
1500
+ ----------------------------------------------------------------------------
1501
+ Processing by Siringa::SiringaController#load as HTML
1502
+ Parameters: {"definition"=>"papapa"}
1503
+ Rendered text template (0.0ms)
1504
+ Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1505
+  (0.1ms) rollback transaction
1506
+  (0.1ms) begin transaction
1507
+ ----------------------------------------------------------------
1508
+ SiringaControllerTest: test_load_action_passing_existing_factory
1509
+ ----------------------------------------------------------------
1510
+ Processing by Siringa::SiringaController#load as HTML
1511
+ Parameters: {"definition"=>"initial"}
1512
+  (0.1ms) SAVEPOINT active_record_1
1513
+ SQL (0.4ms) INSERT INTO "users" DEFAULT VALUES
1514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1515
+ Completed 201 Created in 9ms (Views: 0.4ms | ActiveRecord: 0.9ms)
1516
+  (0.1ms) rollback transaction
1517
+  (0.1ms) begin transaction
1518
+ -----------------------
1519
+ SiringaTest: test_truth
1520
+ -----------------------
1521
+  (0.1ms) rollback transaction
1522
+  (0.5ms) begin transaction
1523
+ -----------------------------------
1524
+ SiringaTest: test_dump_the_MySql_DB
1525
+ -----------------------------------
1526
+  (0.1ms) rollback transaction
1527
+  (0.1ms) begin transaction
1528
+ -----------------------
1529
+ SiringaTest: test_truth
1530
+ -----------------------
1531
+  (0.1ms) rollback transaction
1532
+  (0.7ms) begin transaction
1533
+ -----------------------------------
1534
+ SiringaTest: test_dump_the_MySql_DB
1535
+ -----------------------------------
1536
+  (0.6ms) begin transaction
1537
+ -----------------------------------
1538
+ SiringaTest: test_dump_the_MySql_DB
1539
+ -----------------------------------
1540
+  (0.6ms) begin transaction
1541
+ -----------------------------------
1542
+ SiringaTest: test_dump_the_MySql_DB
1543
+ -----------------------------------
1544
+  (0.6ms) begin transaction
1545
+ -----------------------------------
1546
+ SiringaTest: test_dump_the_MySql_DB
1547
+ -----------------------------------
1548
+  (0.2ms) rollback transaction
1549
+  (0.1ms) begin transaction
1550
+ -----------------------
1551
+ SiringaTest: test_truth
1552
+ -----------------------
1553
+  (0.1ms) rollback transaction
1554
+  (0.5ms) begin transaction
1555
+ -----------------------------------
1556
+ SiringaTest: test_dump_the_MySql_DB
1557
+ -----------------------------------
1558
+  (0.1ms) rollback transaction
1559
+  (0.1ms) begin transaction
1560
+ -----------------------
1561
+ SiringaTest: test_truth
1562
+ -----------------------
1563
+  (0.1ms) rollback transaction
1564
+  (0.7ms) begin transaction
1565
+ -----------------------------------
1566
+ SiringaTest: test_dump_the_MySql_DB
1567
+ -----------------------------------
1568
+  (0.1ms) rollback transaction
1569
+  (0.1ms) begin transaction
1570
+ -----------------------
1571
+ SiringaTest: test_truth
1572
+ -----------------------
1573
+  (0.1ms) rollback transaction
1574
+  (0.6ms) begin transaction
1575
+ -----------------------------------
1576
+ SiringaTest: test_dump_the_MySql_DB
1577
+ -----------------------------------
1578
+  (0.1ms) rollback transaction
1579
+  (0.1ms) begin transaction
1580
+ -----------------------
1581
+ SiringaTest: test_truth
1582
+ -----------------------
1583
+  (0.1ms) rollback transaction
1584
+  (0.7ms) begin transaction
1585
+ -----------------------------------
1586
+ SiringaTest: test_dump_the_MySql_DB
1587
+ -----------------------------------
1588
+  (0.2ms) rollback transaction
1589
+  (0.1ms) begin transaction
1590
+ -----------------------
1591
+ SiringaTest: test_truth
1592
+ -----------------------
1593
+  (0.1ms) rollback transaction
1594
+  (0.5ms) begin transaction
1595
+ -----------------------------------
1596
+ SiringaTest: test_dump_the_MySql_DB
1597
+ -----------------------------------
1598
+  (0.5ms) rollback transaction
1599
+  (0.2ms) begin transaction
1600
+ -----------------------
1601
+ SiringaTest: test_truth
1602
+ -----------------------
1603
+  (0.2ms) rollback transaction
1604
+  (0.6ms) begin transaction
1605
+ -----------------------------------
1606
+ SiringaTest: test_dump_the_MySql_DB
1607
+ -----------------------------------
1608
+  (0.3ms) rollback transaction
1609
+  (0.3ms) begin transaction
1610
+ -----------------------
1611
+ SiringaTest: test_truth
1612
+ -----------------------
1613
+  (0.2ms) rollback transaction
1614
+  (0.5ms) begin transaction
1615
+ -----------------------------------
1616
+ SiringaTest: test_dump_the_MySql_DB
1617
+ -----------------------------------
1618
+  (0.1ms) rollback transaction
1619
+  (0.1ms) begin transaction
1620
+ -----------------------
1621
+ SiringaTest: test_truth
1622
+ -----------------------
1623
+  (0.1ms) rollback transaction
1624
+  (0.6ms) begin transaction
1625
+ -----------------------------------
1626
+ SiringaTest: test_dump_the_MySql_DB
1627
+ -----------------------------------
1628
+  (0.6ms) begin transaction
1629
+ -----------------------------------
1630
+ SiringaTest: test_dump_the_MySql_DB
1631
+ -----------------------------------
1632
+  (0.6ms) begin transaction
1633
+ -----------------------------------
1634
+ SiringaTest: test_dump_the_MySql_DB
1635
+ -----------------------------------
1636
+  (0.5ms) begin transaction
1637
+ -----------------------------------
1638
+ SiringaTest: test_dump_the_MySql_DB
1639
+ -----------------------------------
1640
+  (0.6ms) begin transaction
1641
+ -----------------------------------
1642
+ SiringaTest: test_dump_the_MySql_DB
1643
+ -----------------------------------
1644
+  (0.6ms) begin transaction
1645
+ -----------------------------------
1646
+ SiringaTest: test_dump_the_MySql_DB
1647
+ -----------------------------------
1648
+  (0.5ms) begin transaction
1649
+ -----------------------------------
1650
+ SiringaTest: test_dump_the_MySql_DB
1651
+ -----------------------------------
1652
+  (0.8ms) begin transaction
1653
+ -----------------------------------
1654
+ SiringaTest: test_dump_the_MySql_DB
1655
+ -----------------------------------
1656
+  (0.2ms) rollback transaction
1657
+  (0.1ms) begin transaction
1658
+ -----------------------
1659
+ SiringaTest: test_truth
1660
+ -----------------------
1661
+  (0.1ms) rollback transaction
1662
+  (0.9ms) begin transaction
1663
+ -----------------------------------
1664
+ SiringaTest: test_dump_the_MySql_DB
1665
+ -----------------------------------
1666
+  (0.8ms) begin transaction
1667
+ -----------------------------------
1668
+ SiringaTest: test_dump_the_MySql_DB
1669
+ -----------------------------------
1670
+  (0.5ms) begin transaction
1671
+ -----------------------------------
1672
+ SiringaTest: test_dump_the_MySql_DB
1673
+ -----------------------------------
1674
+  (0.5ms) begin transaction
1675
+ -----------------------------------
1676
+ SiringaTest: test_dump_the_MySql_DB
1677
+ -----------------------------------
1678
+  (0.6ms) begin transaction
1679
+ -----------------------------------
1680
+ SiringaTest: test_dump_the_MySql_DB
1681
+ -----------------------------------
1682
+  (0.6ms) begin transaction
1683
+ -----------------------------------
1684
+ SiringaTest: test_dump_the_MySql_DB
1685
+ -----------------------------------
1686
+  (0.6ms) begin transaction
1687
+ -----------------------------------
1688
+ SiringaTest: test_dump_the_MySql_DB
1689
+ -----------------------------------
1690
+  (0.6ms) begin transaction
1691
+ -----------------------------------
1692
+ SiringaTest: test_dump_the_MySql_DB
1693
+ -----------------------------------
1694
+  (0.2ms) rollback transaction
1695
+  (0.1ms) begin transaction
1696
+ -----------------------
1697
+ SiringaTest: test_truth
1698
+ -----------------------
1699
+  (0.1ms) rollback transaction
1700
+  (0.5ms) begin transaction
1701
+ -----------------------------------
1702
+ SiringaTest: test_dump_the_MySql_DB
1703
+ -----------------------------------
1704
+  (0.2ms) rollback transaction
1705
+  (0.2ms) begin transaction
1706
+ -----------------------
1707
+ SiringaTest: test_truth
1708
+ -----------------------
1709
+  (0.1ms) rollback transaction
1710
+  (0.5ms) begin transaction
1711
+ -----------------------------------
1712
+ SiringaTest: test_dump_the_MySql_DB
1713
+ -----------------------------------
1714
+  (0.5ms) begin transaction
1715
+ -----------------------------------
1716
+ SiringaTest: test_dump_the_MySql_DB
1717
+ -----------------------------------
1718
+  (0.2ms) rollback transaction
1719
+  (0.2ms) begin transaction
1720
+ -----------------------
1721
+ SiringaTest: test_truth
1722
+ -----------------------
1723
+  (0.1ms) rollback transaction
1724
+  (0.5ms) begin transaction
1725
+ -----------------------------------
1726
+ SiringaTest: test_dump_the_MySql_DB
1727
+ -----------------------------------
1728
+  (0.5ms) rollback transaction
1729
+  (0.3ms) begin transaction
1730
+ -----------------------
1731
+ SiringaTest: test_truth
1732
+ -----------------------
1733
+  (0.2ms) rollback transaction
1734
+  (0.6ms) begin transaction
1735
+ -----------------------------------
1736
+ SiringaTest: test_dump_the_MySql_DB
1737
+ -----------------------------------
1738
+  (0.3ms) rollback transaction
1739
+  (0.3ms) begin transaction
1740
+ -----------------------
1741
+ SiringaTest: test_truth
1742
+ -----------------------
1743
+  (0.2ms) rollback transaction
1744
+  (0.6ms) begin transaction
1745
+ -----------------------------------
1746
+ SiringaTest: test_dump_the_MySql_DB
1747
+ -----------------------------------
1748
+  (0.6ms) rollback transaction
1749
+  (0.3ms) begin transaction
1750
+ -----------------------
1751
+ SiringaTest: test_truth
1752
+ -----------------------
1753
+  (0.3ms) rollback transaction
1754
+  (0.7ms) begin transaction
1755
+ -----------------------------------
1756
+ SiringaTest: test_dump_the_MySql_DB
1757
+ -----------------------------------
1758
+  (0.4ms) rollback transaction
1759
+  (0.3ms) begin transaction
1760
+ -----------------------
1761
+ SiringaTest: test_truth
1762
+ -----------------------
1763
+  (0.3ms) rollback transaction
1764
+  (0.5ms) begin transaction
1765
+ -----------------------------------
1766
+ SiringaTest: test_dump_the_MySql_DB
1767
+ -----------------------------------
1768
+  (0.2ms) rollback transaction
1769
+  (0.1ms) begin transaction
1770
+ -----------------------
1771
+ SiringaTest: test_truth
1772
+ -----------------------
1773
+  (0.1ms) rollback transaction
1774
+  (0.5ms) begin transaction
1775
+ -----------------------------------
1776
+ SiringaTest: test_dump_the_MySql_DB
1777
+ -----------------------------------
1778
+  (0.3ms) rollback transaction
1779
+  (0.2ms) begin transaction
1780
+ -----------------------
1781
+ SiringaTest: test_truth
1782
+ -----------------------
1783
+  (0.1ms) rollback transaction
1784
+  (0.7ms) begin transaction
1785
+ -----------------------------------
1786
+ SiringaTest: test_dump_the_MySql_DB
1787
+ -----------------------------------
1788
+  (0.3ms) rollback transaction
1789
+  (0.2ms) begin transaction
1790
+ -----------------------
1791
+ SiringaTest: test_truth
1792
+ -----------------------
1793
+  (0.1ms) rollback transaction
1794
+  (0.5ms) begin transaction
1795
+ -----------------------------------
1796
+ SiringaTest: test_dump_the_MySql_DB
1797
+ -----------------------------------
1798
+  (0.3ms) rollback transaction
1799
+  (0.2ms) begin transaction
1800
+ -----------------------
1801
+ SiringaTest: test_truth
1802
+ -----------------------
1803
+  (0.1ms) rollback transaction
1804
+  (0.9ms) begin transaction
1805
+ -----------------------------------
1806
+ SiringaTest: test_dump_the_MySql_DB
1807
+ -----------------------------------
1808
+  (0.3ms) rollback transaction
1809
+  (0.2ms) begin transaction
1810
+ -----------------------
1811
+ SiringaTest: test_truth
1812
+ -----------------------
1813
+  (0.1ms) rollback transaction
1814
+  (0.5ms) begin transaction
1815
+ -----------------------------------
1816
+ SiringaTest: test_dump_the_MySql_DB
1817
+ -----------------------------------
1818
+  (0.3ms) rollback transaction
1819
+  (0.3ms) begin transaction
1820
+ -----------------------
1821
+ SiringaTest: test_truth
1822
+ -----------------------
1823
+  (0.2ms) rollback transaction
1824
+  (0.6ms) begin transaction
1825
+ -----------------------------------
1826
+ SiringaTest: test_dump_the_MySql_DB
1827
+ -----------------------------------
1828
+  (0.2ms) rollback transaction
1829
+  (0.1ms) begin transaction
1830
+ -----------------------
1831
+ SiringaTest: test_truth
1832
+ -----------------------
1833
+  (0.1ms) rollback transaction
1834
+  (0.5ms) begin transaction
1835
+ -----------------------------------
1836
+ SiringaTest: test_dump_the_MySql_DB
1837
+ -----------------------------------
1838
+  (0.3ms) rollback transaction
1839
+  (0.1ms) begin transaction
1840
+ -------------------------------------------
1841
+ SiringaTest: test_fail_to_dump_the_MySql_DB
1842
+ -------------------------------------------
1843
+  (0.3ms) rollback transaction
1844
+  (0.1ms) begin transaction
1845
+ -----------------------
1846
+ SiringaTest: test_truth
1847
+ -----------------------
1848
+  (0.2ms) rollback transaction
1849
+  (0.5ms) begin transaction
1850
+ -----------------------------------
1851
+ SiringaTest: test_dump_the_MySql_DB
1852
+ -----------------------------------
1853
+  (0.3ms) rollback transaction
1854
+  (0.2ms) begin transaction
1855
+ -------------------------------------------
1856
+ SiringaTest: test_fail_to_dump_the_MySql_DB
1857
+ -------------------------------------------
1858
+  (0.4ms) rollback transaction
1859
+  (0.3ms) begin transaction
1860
+ -----------------------
1861
+ SiringaTest: test_truth
1862
+ -----------------------
1863
+  (0.3ms) rollback transaction
1864
+  (0.7ms) begin transaction
1865
+ -----------------------------------
1866
+ SiringaTest: test_dump_the_MySql_DB
1867
+ -----------------------------------
1868
+  (0.3ms) rollback transaction
1869
+  (0.1ms) begin transaction
1870
+ -------------------------------------------
1871
+ SiringaTest: test_fail_to_dump_the_MySql_DB
1872
+ -------------------------------------------
1873
+  (0.2ms) rollback transaction
1874
+  (0.1ms) begin transaction
1875
+ -----------------------
1876
+ SiringaTest: test_truth
1877
+ -----------------------
1878
+  (0.2ms) rollback transaction
1879
+  (0.7ms) begin transaction
1880
+ -----------------------------------
1881
+ SiringaTest: test_dump_the_MySql_DB
1882
+ -----------------------------------
1883
+  (0.3ms) rollback transaction
1884
+  (0.1ms) begin transaction
1885
+ -------------------------------------------
1886
+ SiringaTest: test_fail_to_dump_the_MySql_DB
1887
+ -------------------------------------------
1888
+  (0.2ms) rollback transaction
1889
+  (0.1ms) begin transaction
1890
+ -----------------------
1891
+ SiringaTest: test_truth
1892
+ -----------------------
1893
+  (0.1ms) rollback transaction
1894
+  (0.9ms) begin transaction
1895
+ ----------------------------------------------------------------
1896
+ SiringaTest: test_fail_to_run_a_bad_command_to_dump_the_MySql_DB
1897
+ ----------------------------------------------------------------
1898
+  (0.3ms) rollback transaction
1899
+  (0.1ms) begin transaction
1900
+ ----------------------------------------------------
1901
+ SiringaTest: test_run_a_command_to_dump_the_MySql_DB
1902
+ ----------------------------------------------------
1903
+  (0.3ms) rollback transaction
1904
+  (0.1ms) begin transaction
1905
+ -----------------------
1906
+ SiringaTest: test_truth
1907
+ -----------------------
1908
+  (0.1ms) rollback transaction
1909
+  (0.5ms) begin transaction
1910
+ ----------------------------------------------------------------
1911
+ SiringaTest: test_fail_to_run_a_bad_command_to_dump_the_MySql_DB
1912
+ ----------------------------------------------------------------
1913
+  (0.2ms) rollback transaction
1914
+  (0.1ms) begin transaction
1915
+ ----------------------------------------------------
1916
+ SiringaTest: test_run_a_command_to_dump_the_MySql_DB
1917
+ ----------------------------------------------------
1918
+  (0.3ms) rollback transaction
1919
+  (0.1ms) begin transaction
1920
+ -----------------------
1921
+ SiringaTest: test_truth
1922
+ -----------------------
1923
+  (0.2ms) rollback transaction
1924
+  (0.5ms) begin transaction
1925
+ ------------------------------------------------------------------------
1926
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
1927
+ ------------------------------------------------------------------------
1928
+  (0.3ms) rollback transaction
1929
+  (0.2ms) begin transaction
1930
+ ------------------------------------------------------------
1931
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
1932
+ ------------------------------------------------------------
1933
+  (0.2ms) rollback transaction
1934
+  (0.1ms) begin transaction
1935
+ -------------------------------------------------------------
1936
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
1937
+ -------------------------------------------------------------
1938
+  (0.3ms) rollback transaction
1939
+  (0.2ms) begin transaction
1940
+ -----------------------
1941
+ SiringaTest: test_truth
1942
+ -----------------------
1943
+  (0.2ms) rollback transaction
1944
+  (0.5ms) begin transaction
1945
+ ------------------------------------------------------------------------
1946
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
1947
+ ------------------------------------------------------------------------
1948
+  (0.3ms) rollback transaction
1949
+  (0.1ms) begin transaction
1950
+ -------------------------------------------------------------------------
1951
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
1952
+ -------------------------------------------------------------------------
1953
+  (0.4ms) rollback transaction
1954
+  (0.2ms) begin transaction
1955
+ ------------------------------------------------------------
1956
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
1957
+ ------------------------------------------------------------
1958
+  (0.3ms) rollback transaction
1959
+  (0.1ms) begin transaction
1960
+ -------------------------------------------------------------
1961
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
1962
+ -------------------------------------------------------------
1963
+  (0.4ms) rollback transaction
1964
+  (0.1ms) begin transaction
1965
+ -----------------------
1966
+ SiringaTest: test_truth
1967
+ -----------------------
1968
+  (0.1ms) rollback transaction
1969
+  (0.5ms) begin transaction
1970
+ ------------------------------------------------------------------------
1971
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
1972
+ ------------------------------------------------------------------------
1973
+  (0.2ms) rollback transaction
1974
+  (0.1ms) begin transaction
1975
+ -------------------------------------------------------------------------
1976
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
1977
+ -------------------------------------------------------------------------
1978
+  (0.4ms) rollback transaction
1979
+  (0.1ms) begin transaction
1980
+ ------------------------------------------------------------
1981
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
1982
+ ------------------------------------------------------------
1983
+  (0.2ms) rollback transaction
1984
+  (0.1ms) begin transaction
1985
+ -------------------------------------------------------------
1986
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
1987
+ -------------------------------------------------------------
1988
+  (0.4ms) rollback transaction
1989
+  (0.5ms) begin transaction
1990
+ ------------------------------------------------------------------------
1991
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
1992
+ ------------------------------------------------------------------------
1993
+  (0.2ms) rollback transaction
1994
+  (0.1ms) begin transaction
1995
+ -------------------------------------------------------------------------
1996
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
1997
+ -------------------------------------------------------------------------
1998
+  (0.2ms) rollback transaction
1999
+  (0.1ms) begin transaction
2000
+ -----------------------------------------------------------------
2001
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2002
+ -----------------------------------------------------------------
2003
+  (0.1ms) rollback transaction
2004
+  (0.1ms) begin transaction
2005
+ ------------------------------------------------------------
2006
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2007
+ ------------------------------------------------------------
2008
+  (0.3ms) rollback transaction
2009
+  (0.2ms) begin transaction
2010
+ -------------------------------------------------------------
2011
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2012
+ -------------------------------------------------------------
2013
+  (0.3ms) rollback transaction
2014
+  (0.7ms) begin transaction
2015
+ ------------------------------------------------------------------------
2016
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2017
+ ------------------------------------------------------------------------
2018
+  (0.3ms) rollback transaction
2019
+  (0.2ms) begin transaction
2020
+ -------------------------------------------------------------------------
2021
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2022
+ -------------------------------------------------------------------------
2023
+  (0.3ms) rollback transaction
2024
+  (0.1ms) begin transaction
2025
+ -----------------------------------------------------------------
2026
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2027
+ -----------------------------------------------------------------
2028
+  (0.2ms) rollback transaction
2029
+  (0.1ms) begin transaction
2030
+ ------------------------------------------------------------
2031
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2032
+ ------------------------------------------------------------
2033
+  (0.2ms) rollback transaction
2034
+  (0.1ms) begin transaction
2035
+ -------------------------------------------------------------
2036
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2037
+ -------------------------------------------------------------
2038
+  (0.3ms) rollback transaction
2039
+  (0.6ms) begin transaction
2040
+ ------------------------------------------------------------------------
2041
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2042
+ ------------------------------------------------------------------------
2043
+  (0.2ms) rollback transaction
2044
+  (0.1ms) begin transaction
2045
+ -------------------------------------------------------------------------
2046
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2047
+ -------------------------------------------------------------------------
2048
+  (0.2ms) rollback transaction
2049
+  (0.1ms) begin transaction
2050
+ -----------------------------------------------------------------
2051
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2052
+ -----------------------------------------------------------------
2053
+  (0.1ms) rollback transaction
2054
+  (0.1ms) begin transaction
2055
+ ------------------------------------------------------------
2056
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2057
+ ------------------------------------------------------------
2058
+  (0.2ms) rollback transaction
2059
+  (0.1ms) begin transaction
2060
+ -------------------------------------------------------------
2061
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2062
+ -------------------------------------------------------------
2063
+  (0.2ms) rollback transaction
2064
+  (0.5ms) begin transaction
2065
+ ------------------------------------------------------------------------
2066
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2067
+ ------------------------------------------------------------------------
2068
+  (0.3ms) rollback transaction
2069
+  (0.1ms) begin transaction
2070
+ -------------------------------------------------------------------------
2071
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2072
+ -------------------------------------------------------------------------
2073
+  (0.2ms) rollback transaction
2074
+  (0.1ms) begin transaction
2075
+ -----------------------------------------------------------------
2076
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2077
+ -----------------------------------------------------------------
2078
+  (0.1ms) rollback transaction
2079
+  (0.1ms) begin transaction
2080
+ ------------------------------------------------------------
2081
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2082
+ ------------------------------------------------------------
2083
+  (0.3ms) rollback transaction
2084
+  (0.1ms) begin transaction
2085
+ -------------------------------------------------------------
2086
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2087
+ -------------------------------------------------------------
2088
+  (0.2ms) rollback transaction
2089
+  (0.5ms) begin transaction
2090
+ ------------------------------------------------------------------------
2091
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2092
+ ------------------------------------------------------------------------
2093
+  (0.2ms) rollback transaction
2094
+  (0.2ms) begin transaction
2095
+ -------------------------------------------------------------------------
2096
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2097
+ -------------------------------------------------------------------------
2098
+  (0.2ms) rollback transaction
2099
+  (0.1ms) begin transaction
2100
+ -----------------------------------------------------------------
2101
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2102
+ -----------------------------------------------------------------
2103
+  (0.3ms) rollback transaction
2104
+  (0.1ms) begin transaction
2105
+ ------------------------------------------------------------
2106
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2107
+ ------------------------------------------------------------
2108
+  (0.4ms) rollback transaction
2109
+  (0.1ms) begin transaction
2110
+ -------------------------------------------------------------
2111
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2112
+ -------------------------------------------------------------
2113
+  (0.2ms) rollback transaction
2114
+  (0.6ms) begin transaction
2115
+ ------------------------------------------------------------------------
2116
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2117
+ ------------------------------------------------------------------------
2118
+  (0.2ms) rollback transaction
2119
+  (0.1ms) begin transaction
2120
+ -------------------------------------------------------------------------
2121
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2122
+ -------------------------------------------------------------------------
2123
+  (0.2ms) rollback transaction
2124
+  (0.1ms) begin transaction
2125
+ -----------------------------------------------------------------
2126
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2127
+ -----------------------------------------------------------------
2128
+  (0.2ms) rollback transaction
2129
+  (0.1ms) begin transaction
2130
+ ------------------------------------------------------------
2131
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2132
+ ------------------------------------------------------------
2133
+  (0.3ms) rollback transaction
2134
+  (0.1ms) begin transaction
2135
+ -------------------------------------------------------------
2136
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2137
+ -------------------------------------------------------------
2138
+  (0.2ms) rollback transaction
2139
+  (0.5ms) begin transaction
2140
+ ------------------------------------------------------------------------
2141
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2142
+ ------------------------------------------------------------------------
2143
+  (0.2ms) rollback transaction
2144
+  (0.1ms) begin transaction
2145
+ -------------------------------------------------------------------------
2146
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2147
+ -------------------------------------------------------------------------
2148
+  (0.2ms) rollback transaction
2149
+  (0.1ms) begin transaction
2150
+ -----------------------------------------------------------------
2151
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2152
+ -----------------------------------------------------------------
2153
+  (0.2ms) rollback transaction
2154
+  (0.1ms) begin transaction
2155
+ ------------------------------------------------------------
2156
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2157
+ ------------------------------------------------------------
2158
+  (0.2ms) rollback transaction
2159
+  (0.1ms) begin transaction
2160
+ -------------------------------------------------------------
2161
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2162
+ -------------------------------------------------------------
2163
+  (0.2ms) rollback transaction
2164
+  (0.5ms) begin transaction
2165
+ ------------------------------------------------------------------------
2166
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2167
+ ------------------------------------------------------------------------
2168
+  (0.3ms) rollback transaction
2169
+  (0.1ms) begin transaction
2170
+ -------------------------------------------------------------------------
2171
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2172
+ -------------------------------------------------------------------------
2173
+  (0.2ms) rollback transaction
2174
+  (0.1ms) begin transaction
2175
+ -----------------------------------------------------------------
2176
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2177
+ -----------------------------------------------------------------
2178
+  (0.2ms) rollback transaction
2179
+  (0.1ms) begin transaction
2180
+ ------------------------------------------------------------
2181
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2182
+ ------------------------------------------------------------
2183
+  (0.2ms) rollback transaction
2184
+  (0.1ms) begin transaction
2185
+ -------------------------------------------------------------
2186
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2187
+ -------------------------------------------------------------
2188
+  (0.2ms) rollback transaction
2189
+  (0.7ms) begin transaction
2190
+ ------------------------------------------------------------------------
2191
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2192
+ ------------------------------------------------------------------------
2193
+  (0.2ms) rollback transaction
2194
+  (0.1ms) begin transaction
2195
+ -------------------------------------------------------------------------
2196
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2197
+ -------------------------------------------------------------------------
2198
+  (0.2ms) rollback transaction
2199
+  (0.2ms) begin transaction
2200
+ -----------------------------------------------------------------
2201
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2202
+ -----------------------------------------------------------------
2203
+  (0.2ms) rollback transaction
2204
+  (0.2ms) begin transaction
2205
+ ------------------------------------------------------------
2206
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2207
+ ------------------------------------------------------------
2208
+  (0.2ms) rollback transaction
2209
+  (0.1ms) begin transaction
2210
+ -------------------------------------------------------------
2211
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2212
+ -------------------------------------------------------------
2213
+  (0.2ms) rollback transaction
2214
+  (0.5ms) begin transaction
2215
+ ------------------------------------------------------------------------
2216
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2217
+ ------------------------------------------------------------------------
2218
+  (0.2ms) rollback transaction
2219
+  (0.1ms) begin transaction
2220
+ -------------------------------------------------------------------------
2221
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2222
+ -------------------------------------------------------------------------
2223
+  (0.2ms) rollback transaction
2224
+  (0.1ms) begin transaction
2225
+ -----------------------------------------------------------------
2226
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2227
+ -----------------------------------------------------------------
2228
+  (0.1ms) rollback transaction
2229
+  (0.1ms) begin transaction
2230
+ ------------------------------------------------------------
2231
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2232
+ ------------------------------------------------------------
2233
+  (0.2ms) rollback transaction
2234
+  (0.1ms) begin transaction
2235
+ -------------------------------------------------------------
2236
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2237
+ -------------------------------------------------------------
2238
+  (0.3ms) rollback transaction
2239
+  (0.5ms) begin transaction
2240
+ ------------------------------------------------------------------------
2241
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_MySql
2242
+ ------------------------------------------------------------------------
2243
+  (0.2ms) rollback transaction
2244
+  (0.1ms) begin transaction
2245
+ -------------------------------------------------------------------------
2246
+ SiringaTest: test_fail_to_run_a_bad_command_when_the_DB_adapter_is_Sqlite
2247
+ -------------------------------------------------------------------------
2248
+  (0.2ms) rollback transaction
2249
+  (0.1ms) begin transaction
2250
+ -----------------------------------------------------------------
2251
+ SiringaTest: test_raise_an_error_using_a_not_supported_DB_adapter
2252
+ -----------------------------------------------------------------
2253
+  (0.1ms) rollback transaction
2254
+  (0.1ms) begin transaction
2255
+ ------------------------------------------------------------
2256
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_MySql
2257
+ ------------------------------------------------------------
2258
+  (0.2ms) rollback transaction
2259
+  (0.1ms) begin transaction
2260
+ -------------------------------------------------------------
2261
+ SiringaTest: test_run_a_command_when_the_DB_adapter_is_Sqlite
2262
+ -------------------------------------------------------------
2263
+  (0.2ms) rollback transaction
2264
+  (0.5ms) begin transaction
2265
+ ----------------------------------------------------------------------------
2266
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2267
+ ----------------------------------------------------------------------------
2268
+ Processing by Siringa::SiringaController#load as HTML
2269
+ Parameters: {"definition"=>"papapa"}
2270
+ Rendered text template (0.0ms)
2271
+ Completed 405 Method Not Allowed in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2272
+  (0.2ms) rollback transaction
2273
+  (0.1ms) begin transaction
2274
+ ----------------------------------------------------------------
2275
+ SiringaControllerTest: test_load_action_passing_existing_factory
2276
+ ----------------------------------------------------------------
2277
+ Processing by Siringa::SiringaController#load as HTML
2278
+ Parameters: {"definition"=>"initial"}
2279
+  (0.1ms) SAVEPOINT active_record_1
2280
+ SQL (20.4ms) INSERT INTO "users" DEFAULT VALUES
2281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2282
+ Completed 201 Created in 32ms (Views: 0.4ms | ActiveRecord: 21.2ms)
2283
+  (0.1ms) rollback transaction
2284
+  (0.5ms) begin transaction
2285
+ ----------------------------------------------------------------------------
2286
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2287
+ ----------------------------------------------------------------------------
2288
+ Processing by Siringa::SiringaController#load as HTML
2289
+ Parameters: {"definition"=>"papapa"}
2290
+ Rendered text template (0.0ms)
2291
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2292
+  (0.2ms) rollback transaction
2293
+  (0.1ms) begin transaction
2294
+ ----------------------------------------------------------------
2295
+ SiringaControllerTest: test_load_action_passing_existing_factory
2296
+ ----------------------------------------------------------------
2297
+ Processing by Siringa::SiringaController#load as HTML
2298
+ Parameters: {"definition"=>"initial"}
2299
+  (0.1ms) SAVEPOINT active_record_1
2300
+ SQL (2.0ms) INSERT INTO "users" DEFAULT VALUES
2301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2302
+ Completed 201 Created in 12ms (Views: 0.5ms | ActiveRecord: 2.6ms)
2303
+  (0.1ms) rollback transaction
2304
+  (0.9ms) begin transaction
2305
+ ----------------------------------------------------------------------------
2306
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2307
+ ----------------------------------------------------------------------------
2308
+ Processing by Siringa::SiringaController#load as HTML
2309
+ Parameters: {"definition"=>"papapa"}
2310
+ Rendered text template (0.1ms)
2311
+ Completed 405 Method Not Allowed in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2312
+  (0.2ms) rollback transaction
2313
+  (0.2ms) begin transaction
2314
+ ----------------------------------------------------------------
2315
+ SiringaControllerTest: test_load_action_passing_existing_factory
2316
+ ----------------------------------------------------------------
2317
+ Processing by Siringa::SiringaController#load as HTML
2318
+ Parameters: {"definition"=>"initial"}
2319
+  (0.1ms) SAVEPOINT active_record_1
2320
+ SQL (19.3ms) INSERT INTO "users" DEFAULT VALUES
2321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2322
+ Completed 201 Created in 29ms (Views: 0.4ms | ActiveRecord: 19.9ms)
2323
+  (0.1ms) rollback transaction
2324
+  (0.6ms) begin transaction
2325
+ ----------------------------------------------------------------------------
2326
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2327
+ ----------------------------------------------------------------------------
2328
+ Processing by Siringa::SiringaController#load as HTML
2329
+ Parameters: {"definition"=>"papapa"}
2330
+ Rendered text template (0.0ms)
2331
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2332
+  (0.1ms) rollback transaction
2333
+  (0.1ms) begin transaction
2334
+ ----------------------------------------------------------------
2335
+ SiringaControllerTest: test_load_action_passing_existing_factory
2336
+ ----------------------------------------------------------------
2337
+ Processing by Siringa::SiringaController#load as HTML
2338
+ Parameters: {"definition"=>"initial"}
2339
+  (0.1ms) SAVEPOINT active_record_1
2340
+ SQL (1.6ms) INSERT INTO "users" DEFAULT VALUES
2341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2342
+ Completed 201 Created in 11ms (Views: 0.5ms | ActiveRecord: 2.2ms)
2343
+  (0.2ms) rollback transaction
2344
+  (0.4ms) begin transaction
2345
+ ----------------------------------------------------------------------------
2346
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2347
+ ----------------------------------------------------------------------------
2348
+ Processing by Siringa::SiringaController#load as HTML
2349
+ Parameters: {"definition"=>"papapa"}
2350
+ Rendered text template (0.0ms)
2351
+ Completed 405 Method Not Allowed in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2352
+  (0.1ms) rollback transaction
2353
+  (0.1ms) begin transaction
2354
+ ----------------------------------------------------------------
2355
+ SiringaControllerTest: test_load_action_passing_existing_factory
2356
+ ----------------------------------------------------------------
2357
+ Processing by Siringa::SiringaController#load as HTML
2358
+ Parameters: {"definition"=>"initial"}
2359
+  (0.1ms) SAVEPOINT active_record_1
2360
+ SQL (2.4ms) INSERT INTO "users" DEFAULT VALUES
2361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2362
+ Completed 201 Created in 13ms (Views: 0.7ms | ActiveRecord: 3.0ms)
2363
+  (0.2ms) rollback transaction
2364
+  (0.5ms) begin transaction
2365
+ ----------------------------------------------------------------------------
2366
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2367
+ ----------------------------------------------------------------------------
2368
+ Processing by Siringa::SiringaController#load as HTML
2369
+ Parameters: {"definition"=>"papapa"}
2370
+ Rendered text template (0.0ms)
2371
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2372
+  (0.1ms) rollback transaction
2373
+  (0.1ms) begin transaction
2374
+ ----------------------------------------------------------------
2375
+ SiringaControllerTest: test_load_action_passing_existing_factory
2376
+ ----------------------------------------------------------------
2377
+ Processing by Siringa::SiringaController#load as HTML
2378
+ Parameters: {"definition"=>"initial"}
2379
+  (0.1ms) SAVEPOINT active_record_1
2380
+ SQL (1.6ms) INSERT INTO "users" DEFAULT VALUES
2381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2382
+ Completed 201 Created in 11ms (Views: 0.5ms | ActiveRecord: 2.2ms)
2383
+  (0.1ms) rollback transaction
2384
+  (0.7ms) begin transaction
2385
+ ----------------------------------------------------------------------------
2386
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2387
+ ----------------------------------------------------------------------------
2388
+ Processing by Siringa::SiringaController#load as HTML
2389
+ Parameters: {"definition"=>"papapa"}
2390
+ Rendered text template (0.0ms)
2391
+ Completed 405 Method Not Allowed in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2392
+  (0.2ms) rollback transaction
2393
+  (0.1ms) begin transaction
2394
+ ----------------------------------------------------------------
2395
+ SiringaControllerTest: test_load_action_passing_existing_factory
2396
+ ----------------------------------------------------------------
2397
+ Processing by Siringa::SiringaController#load as HTML
2398
+ Parameters: {"definition"=>"initial"}
2399
+  (0.1ms) SAVEPOINT active_record_1
2400
+ SQL (1.7ms) INSERT INTO "users" DEFAULT VALUES
2401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2402
+ Completed 201 Created in 10ms (Views: 0.5ms | ActiveRecord: 2.2ms)
2403
+  (0.2ms) rollback transaction
2404
+  (0.5ms) begin transaction
2405
+ ----------------------------------------------------------------------------
2406
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2407
+ ----------------------------------------------------------------------------
2408
+ Processing by Siringa::SiringaController#load as HTML
2409
+ Parameters: {"definition"=>"papapa"}
2410
+ Rendered text template (0.0ms)
2411
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2412
+  (0.1ms) rollback transaction
2413
+  (0.1ms) begin transaction
2414
+ ----------------------------------------------------------------
2415
+ SiringaControllerTest: test_load_action_passing_existing_factory
2416
+ ----------------------------------------------------------------
2417
+ Processing by Siringa::SiringaController#load as HTML
2418
+ Parameters: {"definition"=>"initial"}
2419
+  (0.1ms) SAVEPOINT active_record_1
2420
+ SQL (1.8ms) INSERT INTO "users" DEFAULT VALUES
2421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2422
+ Completed 201 Created in 11ms (Views: 0.5ms | ActiveRecord: 2.4ms)
2423
+  (0.2ms) rollback transaction
2424
+  (0.6ms) begin transaction
2425
+ ----------------------------------------------------------------------------
2426
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2427
+ ----------------------------------------------------------------------------
2428
+ Processing by Siringa::SiringaController#load as HTML
2429
+ Parameters: {"definition"=>"papapa"}
2430
+ Rendered text template (0.0ms)
2431
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2432
+  (0.1ms) rollback transaction
2433
+  (0.1ms) begin transaction
2434
+ ----------------------------------------------------------------
2435
+ SiringaControllerTest: test_load_action_passing_existing_factory
2436
+ ----------------------------------------------------------------
2437
+ Processing by Siringa::SiringaController#load as HTML
2438
+ Parameters: {"definition"=>"initial"}
2439
+  (0.1ms) SAVEPOINT active_record_1
2440
+ SQL (1.8ms) INSERT INTO "users" DEFAULT VALUES
2441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2442
+ Completed 201 Created in 11ms (Views: 0.5ms | ActiveRecord: 2.4ms)
2443
+  (0.7ms) rollback transaction
2444
+  (0.6ms) begin transaction
2445
+ ----------------------------------------------------------------------------
2446
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2447
+ ----------------------------------------------------------------------------
2448
+ Processing by Siringa::SiringaController#load as HTML
2449
+ Parameters: {"definition"=>"papapa"}
2450
+ Rendered text template (0.0ms)
2451
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2452
+  (0.1ms) rollback transaction
2453
+  (0.1ms) begin transaction
2454
+ ----------------------------------------------------------------
2455
+ SiringaControllerTest: test_load_action_passing_existing_factory
2456
+ ----------------------------------------------------------------
2457
+ Processing by Siringa::SiringaController#load as HTML
2458
+ Parameters: {"definition"=>"initial"}
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ SQL (1.5ms) INSERT INTO "users" DEFAULT VALUES
2461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2462
+ Completed 201 Created in 11ms (Views: 0.5ms | ActiveRecord: 2.1ms)
2463
+  (0.5ms) rollback transaction
2464
+  (0.5ms) begin transaction
2465
+ ----------------------------------------------------------------------------
2466
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2467
+ ----------------------------------------------------------------------------
2468
+ Processing by Siringa::SiringaController#load as HTML
2469
+ Parameters: {"definition"=>"papapa"}
2470
+ Rendered text template (0.0ms)
2471
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2472
+  (0.1ms) rollback transaction
2473
+  (0.1ms) begin transaction
2474
+ ----------------------------------------------------------------
2475
+ SiringaControllerTest: test_load_action_passing_existing_factory
2476
+ ----------------------------------------------------------------
2477
+ Processing by Siringa::SiringaController#load as HTML
2478
+ Parameters: {"definition"=>"initial"}
2479
+  (0.1ms) SAVEPOINT active_record_1
2480
+ SQL (1.5ms) INSERT INTO "users" DEFAULT VALUES
2481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2482
+ Completed 201 Created in 10ms (Views: 0.4ms | ActiveRecord: 2.0ms)
2483
+  (0.3ms) rollback transaction
2484
+  (0.7ms) begin transaction
2485
+ ----------------------------------------------------------------------------
2486
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2487
+ ----------------------------------------------------------------------------
2488
+ Processing by Siringa::SiringaController#load as HTML
2489
+ Parameters: {"definition"=>"papapa"}
2490
+ Rendered text template (0.0ms)
2491
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2492
+  (0.1ms) rollback transaction
2493
+  (0.1ms) begin transaction
2494
+ ----------------------------------------------------------------
2495
+ SiringaControllerTest: test_load_action_passing_existing_factory
2496
+ ----------------------------------------------------------------
2497
+ Processing by Siringa::SiringaController#load as HTML
2498
+ Parameters: {"definition"=>"initial"}
2499
+  (0.1ms) SAVEPOINT active_record_1
2500
+ SQL (2.0ms) INSERT INTO "users" DEFAULT VALUES
2501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2502
+ Completed 201 Created in 12ms (Views: 0.5ms | ActiveRecord: 2.6ms)
2503
+  (0.3ms) rollback transaction
2504
+  (0.6ms) begin transaction
2505
+ ----------------------------------------------------------------------------
2506
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2507
+ ----------------------------------------------------------------------------
2508
+ Processing by Siringa::SiringaController#load as HTML
2509
+ Parameters: {"definition"=>"papapa"}
2510
+ Rendered text template (0.0ms)
2511
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2512
+  (0.1ms) rollback transaction
2513
+  (0.1ms) begin transaction
2514
+ ----------------------------------------------------------------
2515
+ SiringaControllerTest: test_load_action_passing_existing_factory
2516
+ ----------------------------------------------------------------
2517
+ Processing by Siringa::SiringaController#load as HTML
2518
+ Parameters: {"definition"=>"initial"}
2519
+  (0.1ms) SAVEPOINT active_record_1
2520
+ SQL (3.3ms) INSERT INTO "users" DEFAULT VALUES
2521
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2522
+ Completed 201 Created in 15ms (Views: 0.6ms | ActiveRecord: 3.9ms)
2523
+  (0.3ms) rollback transaction
2524
+  (0.6ms) begin transaction
2525
+ ----------------------------------------------------------------------------
2526
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2527
+ ----------------------------------------------------------------------------
2528
+ Processing by Siringa::SiringaController#load as HTML
2529
+ Parameters: {"definition"=>"papapa"}
2530
+ Rendered text template (0.0ms)
2531
+ Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2532
+  (0.1ms) rollback transaction
2533
+  (0.1ms) begin transaction
2534
+ ----------------------------------------------------------------
2535
+ SiringaControllerTest: test_load_action_passing_existing_factory
2536
+ ----------------------------------------------------------------
2537
+ Processing by Siringa::SiringaController#load as HTML
2538
+ Parameters: {"definition"=>"initial"}
2539
+  (0.1ms) SAVEPOINT active_record_1
2540
+ SQL (1.9ms) INSERT INTO "users" DEFAULT VALUES
2541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2542
+ Completed 201 Created in 41ms (Views: 0.5ms | ActiveRecord: 2.5ms)
2543
+  (0.4ms) rollback transaction
2544
+  (0.5ms) begin transaction
2545
+ -----------------------------------------------------------------------------
2546
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exista
2547
+ -----------------------------------------------------------------------------
2548
+ Processing by Siringa::SiringaController#load as HTML
2549
+ Parameters: {"definition"=>"papapa"}
2550
+ Rendered text template (0.0ms)
2551
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2552
+  (0.1ms) rollback transaction
2553
+  (0.1ms) begin transaction
2554
+ ----------------------------------------------------------------
2555
+ SiringaControllerTest: test_load_action_passing_existing_factory
2556
+ ----------------------------------------------------------------
2557
+ Processing by Siringa::SiringaController#load as HTML
2558
+ Parameters: {"definition"=>"initial"}
2559
+  (0.1ms) SAVEPOINT active_record_1
2560
+ SQL (1.9ms) INSERT INTO "users" DEFAULT VALUES
2561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2562
+ Completed 201 Created in 39ms (Views: 0.5ms | ActiveRecord: 2.5ms)
2563
+  (0.3ms) rollback transaction
2564
+  (0.8ms) begin transaction
2565
+ -----------------------------------------------------------------------------
2566
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exista
2567
+ -----------------------------------------------------------------------------
2568
+ Processing by Siringa::SiringaController#load as HTML
2569
+ Parameters: {"definition"=>"papapa"}
2570
+ Rendered text template (0.0ms)
2571
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2572
+  (0.1ms) rollback transaction
2573
+  (0.1ms) begin transaction
2574
+ ----------------------------------------------------------------
2575
+ SiringaControllerTest: test_load_action_passing_existing_factory
2576
+ ----------------------------------------------------------------
2577
+ Processing by Siringa::SiringaController#load as HTML
2578
+ Parameters: {"definition"=>"initial"}
2579
+  (0.1ms) SAVEPOINT active_record_1
2580
+ SQL (1.7ms) INSERT INTO "users" DEFAULT VALUES
2581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2582
+ Completed 201 Created in 42ms (Views: 0.4ms | ActiveRecord: 2.2ms)
2583
+  (0.3ms) rollback transaction
2584
+  (0.5ms) begin transaction
2585
+ -----------------------------------------------------------------------------
2586
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exista
2587
+ -----------------------------------------------------------------------------
2588
+ Processing by Siringa::SiringaController#load as HTML
2589
+ Parameters: {"definition"=>"papapa"}
2590
+ Rendered text template (0.0ms)
2591
+ Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2592
+  (0.2ms) rollback transaction
2593
+  (0.1ms) begin transaction
2594
+ ----------------------------------------------------------------
2595
+ SiringaControllerTest: test_load_action_passing_existing_factory
2596
+ ----------------------------------------------------------------
2597
+ Processing by Siringa::SiringaController#load as HTML
2598
+ Parameters: {"definition"=>"initial"}
2599
+  (0.1ms) SAVEPOINT active_record_1
2600
+ SQL (1.6ms) INSERT INTO "users" DEFAULT VALUES
2601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
+ Completed 201 Created in 41ms (Views: 0.5ms | ActiveRecord: 2.5ms)
2603
+  (0.4ms) rollback transaction
2604
+  (0.5ms) begin transaction
2605
+ ----------------------------------------------------------------------------
2606
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2607
+ ----------------------------------------------------------------------------
2608
+ Processing by Siringa::SiringaController#load as HTML
2609
+ Parameters: {"definition"=>"papapa"}
2610
+ Rendered text template (0.0ms)
2611
+ Completed 405 Method Not Allowed in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2612
+  (0.2ms) rollback transaction
2613
+  (0.1ms) begin transaction
2614
+ ----------------------------------------------------------------
2615
+ SiringaControllerTest: test_load_action_passing_existing_factory
2616
+ ----------------------------------------------------------------
2617
+ Processing by Siringa::SiringaController#load as HTML
2618
+ Parameters: {"definition"=>"initial"}
2619
+  (0.1ms) SAVEPOINT active_record_1
2620
+ SQL (1.5ms) INSERT INTO "users" DEFAULT VALUES
2621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2622
+ Completed 201 Created in 42ms (Views: 0.4ms | ActiveRecord: 2.1ms)
2623
+  (0.3ms) rollback transaction
2624
+  (0.5ms) begin transaction
2625
+ ----------------------------------------------------------------------------
2626
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2627
+ ----------------------------------------------------------------------------
2628
+ Processing by Siringa::SiringaController#load as HTML
2629
+ Parameters: {"definition"=>"papapa"}
2630
+ Rendered text template (0.0ms)
2631
+ Completed 405 Method Not Allowed in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2632
+  (0.1ms) rollback transaction
2633
+  (0.1ms) begin transaction
2634
+ ----------------------------------------------------------------
2635
+ SiringaControllerTest: test_load_action_passing_existing_factory
2636
+ ----------------------------------------------------------------
2637
+ Processing by Siringa::SiringaController#load as HTML
2638
+ Parameters: {"definition"=>"initial"}
2639
+  (0.1ms) SAVEPOINT active_record_1
2640
+ SQL (1.8ms) INSERT INTO "users" DEFAULT VALUES
2641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2642
+ Completed 201 Created in 13ms (Views: 0.5ms | ActiveRecord: 2.5ms)
2643
+  (0.2ms) rollback transaction
2644
+  (0.5ms) begin transaction
2645
+ ----------------------------------------------------------------------------
2646
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2647
+ ----------------------------------------------------------------------------
2648
+ Processing by Siringa::SiringaController#load as HTML
2649
+ Parameters: {"definition"=>"papapa"}
2650
+ Rendered text template (0.0ms)
2651
+ Completed 405 Method Not Allowed in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2652
+  (0.2ms) rollback transaction
2653
+  (0.1ms) begin transaction
2654
+ ----------------------------------------------------------------
2655
+ SiringaControllerTest: test_load_action_passing_existing_factory
2656
+ ----------------------------------------------------------------
2657
+ Processing by Siringa::SiringaController#load as HTML
2658
+ Parameters: {"definition"=>"initial"}
2659
+  (0.1ms) SAVEPOINT active_record_1
2660
+ SQL (36.0ms) INSERT INTO "users" DEFAULT VALUES
2661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2662
+ Completed 201 Created in 52ms (Views: 0.5ms | ActiveRecord: 37.0ms)
2663
+  (0.4ms) rollback transaction
2664
+  (0.6ms) begin transaction
2665
+ ----------------------------------------------------------------------------
2666
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2667
+ ----------------------------------------------------------------------------
2668
+ Processing by Siringa::SiringaController#load as HTML
2669
+ Parameters: {"definition"=>"papapa"}
2670
+ Rendered text template (0.0ms)
2671
+ Completed 405 Method Not Allowed in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2672
+  (0.1ms) rollback transaction
2673
+  (0.1ms) begin transaction
2674
+ ----------------------------------------------------------------
2675
+ SiringaControllerTest: test_load_action_passing_existing_factory
2676
+ ----------------------------------------------------------------
2677
+ Processing by Siringa::SiringaController#load as HTML
2678
+ Parameters: {"definition"=>"initial"}
2679
+  (0.1ms) SAVEPOINT active_record_1
2680
+ SQL (1.9ms) INSERT INTO "users" DEFAULT VALUES
2681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2682
+ Completed 201 Created in 12ms (Views: 0.6ms | ActiveRecord: 2.5ms)
2683
+  (0.2ms) rollback transaction
2684
+  (126.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
2685
+  (128.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2686
+  (106.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2687
+  (0.2ms) SELECT version FROM "schema_migrations"
2688
+  (130.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130927161308')
2689
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2690
+  (0.7ms) begin transaction
2691
+ ----------------------------------------------------------------------------
2692
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2693
+ ----------------------------------------------------------------------------
2694
+ Processing by Siringa::SiringaController#load as HTML
2695
+ Parameters: {"definition"=>"papapa"}
2696
+ Rendered text template (0.0ms)
2697
+ Completed 405 Method Not Allowed in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2698
+  (0.1ms) rollback transaction
2699
+  (0.1ms) begin transaction
2700
+ ----------------------------------------------------------------
2701
+ SiringaControllerTest: test_load_action_passing_existing_factory
2702
+ ----------------------------------------------------------------
2703
+ Processing by Siringa::SiringaController#load as HTML
2704
+ Parameters: {"definition"=>"initial"}
2705
+  (0.1ms) SAVEPOINT active_record_1
2706
+ SQL (3.6ms) INSERT INTO "users" DEFAULT VALUES
2707
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2708
+ Completed 201 Created in 17ms (Views: 0.8ms | ActiveRecord: 4.3ms)
2709
+  (0.4ms) rollback transaction
2710
+  (0.5ms) begin transaction
2711
+ ----------------------------------------------------------------------------
2712
+ SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
2713
+ ----------------------------------------------------------------------------
2714
+ Processing by Siringa::SiringaController#load as HTML
2715
+ Parameters: {"definition"=>"papapa"}
2716
+ Rendered text template (0.0ms)
2717
+ Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2718
+  (0.1ms) rollback transaction
2719
+  (0.1ms) begin transaction
2720
+ ----------------------------------------------------------------
2721
+ SiringaControllerTest: test_load_action_passing_existing_factory
2722
+ ----------------------------------------------------------------
2723
+ Processing by Siringa::SiringaController#load as HTML
2724
+ Parameters: {"definition"=>"initial"}
2725
+  (0.1ms) SAVEPOINT active_record_1
2726
+ SQL (1.6ms) INSERT INTO "users" DEFAULT VALUES
2727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2728
+ Completed 201 Created in 10ms (Views: 0.4ms | ActiveRecord: 2.2ms)
2729
+  (0.1ms) rollback transaction