bizarroids_settings 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/bizarroids/settings/options/index.html.erb +7 -3
- data/lib/bizarroids/settings.rb +3 -0
- data/lib/bizarroids/settings/version.rb +1 -1
- data/lib/generators/bizarroids/settings/install/USAGE +2 -2
- data/lib/generators/bizarroids/settings/install/templates/initializer.rb +3 -0
- data/test/dummy/log/test.log +904 -0
- data/test/dummy/tmp/generators/config/initializers/bizarroids_settings.rb +3 -0
- data/test/dummy/tmp/generators/db/migrate/{20140802150258_create_bizarroids_settings_options.rb → 20140805093215_create_bizarroids_settings_options.rb} +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17d6bdcb70f2e25e06cf0820facdfd174860ddc1
|
4
|
+
data.tar.gz: 36528603d297c7a7d4084bbc797d23f1bb971669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b55ca8a8b4c447e2cf1ca26dfedf2e5b8c19629c05c36e53383ff27b925c9a5bd69be7558acd222981db1c1cd028dc06a443c15f05d3d522590ecb03c6ec065
|
7
|
+
data.tar.gz: 85ad7656a43ac5589a9bab0ab903bd71db5f3a3d1b4c937860abc5af9cfbafec9f15594bbfcb353d5fe2d3cb0bbdb94d28d7174477b0f6bdf7c3eea8a3b1e599
|
@@ -5,9 +5,11 @@
|
|
5
5
|
<table class='table table-bordered table-striped'>
|
6
6
|
<thead>
|
7
7
|
<tr>
|
8
|
-
|
9
|
-
|
8
|
+
<th><%= resource_class.human_attribute_name(:name) %></th>
|
9
|
+
<% if Bizarroids::Settings.show_value_type %>
|
10
|
+
<th><%= resource_class.human_attribute_name(:value_type) %></th>
|
10
11
|
<% end %>
|
12
|
+
<th><%= resource_class.human_attribute_name(:value) %></th>
|
11
13
|
<th> </th>
|
12
14
|
</tr>
|
13
15
|
</thead>
|
@@ -20,7 +22,9 @@
|
|
20
22
|
<br/><em><%= option.description %></em>
|
21
23
|
<% end %>
|
22
24
|
</td>
|
23
|
-
|
25
|
+
<% if Bizarroids::Settings.show_value_type %>
|
26
|
+
<td><%= option.human_type %></td>
|
27
|
+
<% end %>
|
24
28
|
<td>
|
25
29
|
<% if option.get_value.present? %>
|
26
30
|
<% case option.value_type %>
|
data/lib/bizarroids/settings.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Description:
|
2
|
-
It will create a migration
|
2
|
+
It will create a migration, initializer and locale files
|
3
3
|
|
4
4
|
Example:
|
5
5
|
rails generate bizarroids:settings:install
|
6
6
|
|
7
7
|
This will create:
|
8
|
-
db/migrate/
|
8
|
+
db/migrate/create_bizarroids_settings_options.rb
|
9
9
|
config/initialiser/bizarroids_settings.rb
|
10
10
|
config/locales/bizarroids_settings.en.yml
|
11
11
|
config/locales/bizarroids_settings.ru.yml
|
@@ -31,4 +31,7 @@ Bizarroids::Settings.setup do |config|
|
|
31
31
|
# The parent controller all Settings controllers inherits from.
|
32
32
|
# Defaults to ApplicationController. This should be set to a string.
|
33
33
|
config.parent_controller = '::ApplicationController'
|
34
|
+
|
35
|
+
# Show value type column in admin panel
|
36
|
+
# config.show_value_type = true
|
34
37
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -95587,3 +95587,907 @@ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collect
|
|
95587
95587
|
Bizarroids::Settings::OptionsControllerTest: test_the_truth
|
95588
95588
|
-----------------------------------------------------------
|
95589
95589
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
95590
|
+
[1m[36mBizarroids::Settings::Option Load (0.7ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95592
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 1) LIMIT 1[0m
|
95593
|
+
[1m[35m (0.1ms)[0m commit transaction
|
95594
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'integer_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95596
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'integer_option' AND "bizarroids_settings_options"."id" != 2) LIMIT 1[0m
|
95597
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95598
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'float_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95600
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'float_option' AND "bizarroids_settings_options"."id" != 3) LIMIT 1[0m
|
95601
|
+
[1m[35m (0.1ms)[0m commit transaction
|
95602
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'boolean_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95604
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'boolean_option' AND "bizarroids_settings_options"."id" != 4) LIMIT 1[0m
|
95605
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95606
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'date_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95608
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'date_option' AND "bizarroids_settings_options"."id" != 5) LIMIT 1[0m
|
95609
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95610
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'datetime_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95611
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95612
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'datetime_option' AND "bizarroids_settings_options"."id" != 6) LIMIT 1[0m
|
95613
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95614
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'text_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95616
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option' AND "bizarroids_settings_options"."id" != 7) LIMIT 1[0m
|
95617
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95618
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'file_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95620
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'file_option' AND "bizarroids_settings_options"."id" != 8) LIMIT 1[0m
|
95621
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95622
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95624
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_collection' AND "bizarroids_settings_options"."id" != 9) LIMIT 1[0m
|
95625
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95626
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'hidden_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95628
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'hidden_option' AND "bizarroids_settings_options"."id" != 10) LIMIT 1[0m
|
95629
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95630
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'required_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95632
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'required_option' AND "bizarroids_settings_options"."id" != 11) LIMIT 1[0m
|
95633
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95634
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'user_friendly_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95636
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'user_friendly_option' AND "bizarroids_settings_options"."id" != 12) LIMIT 1[0m
|
95637
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95638
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'text_option_with_class' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95640
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option_with_class' AND "bizarroids_settings_options"."id" != 13) LIMIT 1[0m
|
95641
|
+
[1m[35m (0.0ms)[0m commit transaction
|
95642
|
+
[1m[36mActiveRecord::SchemaMigration Load (4.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
95643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95644
|
+
------------------------------------------------------------
|
95645
|
+
Bizarroids::SettingsTest: test_Duplicate_option_raises_error
|
95646
|
+
------------------------------------------------------------
|
95647
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
95648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95649
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
95650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95652
|
+
[1m[35mSQL (0.8ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
95653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95654
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95655
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
95656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95657
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95658
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
95659
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95661
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
95662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95664
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
95665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95666
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95667
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
95668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95669
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95670
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
95671
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95673
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
95674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95676
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
95677
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95678
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95679
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
95680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95681
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95682
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
95683
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95685
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
95686
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95687
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95689
|
+
[1m[36mBizarroids::Settings::Option Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1[0m
|
95690
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.569452"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.569452"], ["value_type", "string"]]
|
95691
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95692
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
95693
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95694
|
+
-------------------------------------------------------------------
|
95695
|
+
Bizarroids::SettingsTest: test_Hidden_flag_requires_non_blank_value
|
95696
|
+
-------------------------------------------------------------------
|
95697
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95698
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95699
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95700
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95701
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95702
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95705
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95708
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95711
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95714
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95717
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95719
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95720
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95723
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95725
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95726
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95727
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95729
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95732
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95733
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95735
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95737
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95739
|
+
--------------------------------------------------------------------
|
95740
|
+
Bizarroids::SettingsTest: test_Require_flag_requires_non_blank_value
|
95741
|
+
--------------------------------------------------------------------
|
95742
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95743
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95744
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95747
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95748
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95749
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95750
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95753
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95755
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95756
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95758
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95759
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95760
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95762
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95763
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95764
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95765
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95768
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95771
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95774
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95777
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95778
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95779
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95780
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95782
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95784
|
+
----------------------------------------------------------
|
95785
|
+
Bizarroids::SettingsTest: test_collection_must_be_an_array
|
95786
|
+
----------------------------------------------------------
|
95787
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95789
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95792
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95794
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95795
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95796
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95797
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95798
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95799
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95800
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95801
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95802
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95804
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95805
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95807
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95810
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95811
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95812
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95813
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95814
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95816
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95819
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95822
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95824
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95825
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95827
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95829
|
+
----------------------------------------------------------------
|
95830
|
+
Bizarroids::SettingsTest: test_collection_sets_attribute_to_true
|
95831
|
+
----------------------------------------------------------------
|
95832
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95834
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95835
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95837
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95840
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95841
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95843
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95846
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95848
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95849
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95852
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95855
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95856
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95857
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95858
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95859
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95860
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95861
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95862
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95864
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95865
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95867
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95868
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95869
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95870
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95871
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95872
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
95873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95874
|
+
[1m[35mBizarroids::Settings::Option Exists (0.0ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
95875
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["collection", "t"], ["created_at", "2014-08-05 09:32:15.601917"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.601917"], ["value_type", "string"]]
|
95876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95877
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95878
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
95879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95880
|
+
----------------------------------------------------------
|
95881
|
+
Bizarroids::SettingsTest: test_creating_option_from_config
|
95882
|
+
----------------------------------------------------------
|
95883
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95885
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95886
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95888
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95891
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95892
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95894
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95895
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95896
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95897
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95900
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95903
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95905
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95906
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95907
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95908
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95909
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95912
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95915
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95917
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95918
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95919
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95920
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95921
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95922
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95923
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
95924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95925
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
95926
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.612729"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.612729"], ["value_type", "string"]]
|
95927
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95928
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95929
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95931
|
+
----------------------------------------------------
|
95932
|
+
Bizarroids::SettingsTest: test_get_:key_retuns_value
|
95933
|
+
----------------------------------------------------
|
95934
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95936
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95939
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95941
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95942
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95943
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95944
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95945
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95946
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95948
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95951
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95954
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95957
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95960
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95962
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95963
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95964
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95965
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95966
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95969
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95970
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95972
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95974
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
95975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95976
|
+
[1m[35mBizarroids::Settings::Option Exists (0.0ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
95977
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.624579"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.624579"], ["value_type", "string"]]
|
95978
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
95979
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
95980
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
95981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95982
|
+
----------------------------------------------------------------------------------------------
|
95983
|
+
Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_not_configured_key
|
95984
|
+
----------------------------------------------------------------------------------------------
|
95985
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
95986
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1[0m
|
95987
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.634286"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.634286"], ["value_type", "string"]]
|
95988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95989
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95990
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95991
|
+
---------------------------------------------------------------------------------------
|
95992
|
+
Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_unknown_key
|
95993
|
+
---------------------------------------------------------------------------------------
|
95994
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95995
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95996
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95999
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
96000
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96001
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96002
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
96003
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96004
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96005
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
96006
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
96008
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
96009
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96010
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96011
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
96012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96014
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
96015
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96017
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
96018
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96019
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96020
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
96021
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96022
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96023
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
96024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96026
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
96027
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96029
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
96030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96032
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
96033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96034
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96036
|
+
[1m[35mBizarroids::Settings::Option Exists (0.0ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
96037
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.644134"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.644134"], ["value_type", "string"]]
|
96038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96039
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
96040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96041
|
+
-------------------------------------------------
|
96042
|
+
Bizarroids::SettingsTest: test_is_a_module_module
|
96043
|
+
-------------------------------------------------
|
96044
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96046
|
+
----------------------------------------------------------
|
96047
|
+
Bizarroids::SettingsTest: test_keys_returns_all_known_keys
|
96048
|
+
----------------------------------------------------------
|
96049
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
96050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96051
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
96052
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96054
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
96055
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96057
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
96058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
96060
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
96061
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96063
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
96064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96066
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
96067
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96069
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
96070
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96071
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96072
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
96073
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96075
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
96076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96077
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96078
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
96079
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96080
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96081
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
96082
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96083
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96084
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
96085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96086
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96087
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
96088
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96089
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96091
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1[0m
|
96092
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.654417"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.654417"], ["value_type", "string"]]
|
96093
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96094
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
96095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96096
|
+
---------------------------------------------
|
96097
|
+
Bizarroids::SettingsTest: test_respond_to_#[]
|
96098
|
+
---------------------------------------------
|
96099
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96101
|
+
----------------------------------------------
|
96102
|
+
Bizarroids::SettingsTest: test_respond_to_#[]=
|
96103
|
+
----------------------------------------------
|
96104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96106
|
+
----------------------------------------------
|
96107
|
+
Bizarroids::SettingsTest: test_respond_to_#get
|
96108
|
+
----------------------------------------------
|
96109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96111
|
+
----------------------------------------------
|
96112
|
+
Bizarroids::SettingsTest: test_respond_to_#set
|
96113
|
+
----------------------------------------------
|
96114
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96116
|
+
-------------------------------------------------------------
|
96117
|
+
Bizarroids::SettingsTest: test_set_:key,_value_updates_option
|
96118
|
+
-------------------------------------------------------------
|
96119
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
96120
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96121
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
96122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96124
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
96125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96127
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
96128
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96130
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
96131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96133
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
96134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96136
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
96137
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96139
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
96140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96142
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
96143
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96144
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96145
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
96146
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96147
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96148
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
96149
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96150
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96151
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
96152
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96154
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
96155
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96157
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
96158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96159
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96160
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96161
|
+
[1m[35mBizarroids::Settings::Option Exists (0.0ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
96162
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.665718"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.665718"], ["value_type", "string"]]
|
96163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96164
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96166
|
+
[1m[36mBizarroids::Settings::Option Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 14) LIMIT 1[0m
|
96167
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14 [["string_value", "NewStringValue"], ["updated_at", "2014-08-05 09:32:15.667832"]]
|
96168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96169
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96170
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
96171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96172
|
+
----------------------------------------------------------------------------------------------
|
96173
|
+
Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_not_configured_key
|
96174
|
+
----------------------------------------------------------------------------------------------
|
96175
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96176
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1
|
96177
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.671829"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.671829"], ["value_type", "string"]]
|
96178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96179
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
96180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96181
|
+
---------------------------------------------------------------------------------------
|
96182
|
+
Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_unknown_key
|
96183
|
+
---------------------------------------------------------------------------------------
|
96184
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
96185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96186
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
96187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96189
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
96190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96191
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
96192
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
96193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96195
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
96196
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96198
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
96199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96201
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
96202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96204
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
96205
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96207
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
96208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
96210
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
96211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96213
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
96214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96216
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
96217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96219
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
96220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96222
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
96223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96224
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96225
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96226
|
+
[1m[36mBizarroids::Settings::Option Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1[0m
|
96227
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.681467"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.681467"], ["value_type", "string"]]
|
96228
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96229
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
96230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96231
|
+
------------------------------------------------------
|
96232
|
+
Bizarroids::SettingsTest: test_setup_block_yields_self
|
96233
|
+
------------------------------------------------------
|
96234
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96236
|
+
-----------------------------------------------------------
|
96237
|
+
Bizarroids::Settings::OptionsControllerTest: test_the_truth
|
96238
|
+
-----------------------------------------------------------
|
96239
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
96240
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96241
|
+
--------------------------------------------------------------------------------------------------
|
96242
|
+
Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_input_options_should_return_hash
|
96243
|
+
--------------------------------------------------------------------------------------------------
|
96244
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
96245
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96246
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
96247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96249
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
96250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96252
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
96253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96255
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
96256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96258
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
96259
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96260
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96261
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
96262
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96263
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96264
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
96265
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96267
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
96268
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96270
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
96271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96273
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
96274
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96275
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96276
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
96277
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96278
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96279
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
96280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96282
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
96283
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96284
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96285
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96286
|
+
[1m[35mBizarroids::Settings::Option Exists (0.0ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
|
96287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.737978"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.737978"], ["value_type", "string"]]
|
96288
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96289
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96290
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
96291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96292
|
+
-------------------------------------------------------------------------------------------------------
|
96293
|
+
Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collection_should_return_array
|
96294
|
+
-------------------------------------------------------------------------------------------------------
|
96295
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
96296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96297
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
96298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96300
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
96301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96303
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
96304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96306
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
96307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96309
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
96310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96312
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
96313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96315
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
96316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96318
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
96319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96321
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
96322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96324
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
96325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96327
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
96328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96330
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
96331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96333
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
96334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96335
|
+
[1m[35mBizarroids::Settings::Option Load (0.1ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96336
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96337
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection_option' LIMIT 1
|
96338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["collection", "t"], ["created_at", "2014-08-05 09:32:15.748417"], ["key", "string_collection_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.748417"], ["value_type", "string"]]
|
96339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96340
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
96341
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96342
|
+
--------------------------------------
|
96343
|
+
BizarroidsTest: test_Bizarroids_module
|
96344
|
+
--------------------------------------
|
96345
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96346
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96347
|
+
------------------------------------------------------------------------
|
96348
|
+
Bizarroids::Settings::InstallGeneratorTest: test_generator_creates_files
|
96349
|
+
------------------------------------------------------------------------
|
96350
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
96351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96352
|
+
------------------------------------------------------------------------------
|
96353
|
+
Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
|
96354
|
+
------------------------------------------------------------------------------
|
96355
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96356
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96357
|
+
-------------------------------------------------------
|
96358
|
+
Bizarroids::Settings::OptionTest: test_avaliable_values
|
96359
|
+
-------------------------------------------------------
|
96360
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
96361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96362
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
96363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96365
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
96366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96368
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
96369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96371
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
96372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96373
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96374
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
96375
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96377
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
96378
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96380
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
96381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96382
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96383
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
96384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96386
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
96387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96388
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96389
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
96390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96391
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96392
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
96393
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
96394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96395
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
96396
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96398
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
96399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96400
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96402
|
+
[1m[36mBizarroids::Settings::Option Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1[0m
|
96403
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["collection", "t"], ["created_at", "2014-08-05 09:32:15.801765"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.801765"], ["value_type", "string"]]
|
96404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96405
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
|
96406
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
96407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96408
|
+
---------------------------------------------------------
|
96409
|
+
Bizarroids::Settings::OptionTest: test_create_string_type
|
96410
|
+
---------------------------------------------------------
|
96411
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96412
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
|
96413
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.804957"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.804957"], ["value_type", "string"]]
|
96414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96415
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
96416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96417
|
+
---------------------------------------------------------------------
|
96418
|
+
Bizarroids::Settings::OptionTest: test_set_value_should_update_option
|
96419
|
+
---------------------------------------------------------------------
|
96420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96421
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
|
96422
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-08-05 09:32:15.807513"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.807513"], ["value_type", "string"]]
|
96423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96425
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'test_string' AND "bizarroids_settings_options"."id" != 14) LIMIT 1
|
96426
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14[0m [["string_value", "MyNewString"], ["updated_at", "2014-08-05 09:32:15.808926"]]
|
96427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96428
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
96429
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96430
|
+
------------------------------------------------------------------------------------------------
|
96431
|
+
Bizarroids::Settings::OptionTest: test_should_validate_presence_of_value_if_required_set_to_true
|
96432
|
+
------------------------------------------------------------------------------------------------
|
96433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96434
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
|
96435
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
96436
|
+
[1m[35mBizarroids::Settings::Option Exists (0.1ms)[0m SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
|
96437
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
96439
|
+
----------------------------------------------------
|
96440
|
+
Bizarroids::Settings::OptionTest: test_test_fixtures
|
96441
|
+
----------------------------------------------------
|
96442
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
96443
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96444
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
96445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96447
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
96448
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96450
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
96451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96453
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
96454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96456
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
96457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96458
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96459
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
96460
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96462
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
96463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96465
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
96466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96468
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
96469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96471
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
96472
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96473
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96474
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
96475
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
96477
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
96478
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96479
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96480
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
96481
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
96482
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1[0m
|
96483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96484
|
+
[1m[36mBizarroids::Settings::Option Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1[0m
|
96485
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.837312"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.837312"], ["value_type", "string"]]
|
96486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96487
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "bizarroids_settings_options"
|
96488
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
96489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
96490
|
+
------------------------------------------------
|
96491
|
+
Bizarroids::Settings::OptionTest: test_the_truth
|
96492
|
+
------------------------------------------------
|
96493
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
@@ -31,4 +31,7 @@ Bizarroids::Settings.setup do |config|
|
|
31
31
|
# The parent controller all Settings controllers inherits from.
|
32
32
|
# Defaults to ApplicationController. This should be set to a string.
|
33
33
|
config.parent_controller = '::ApplicationController'
|
34
|
+
|
35
|
+
# Show value type column in admin panel
|
36
|
+
# config.show_value_type = true
|
34
37
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bizarroids_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corlinus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -205,7 +205,7 @@ files:
|
|
205
205
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
|
206
206
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
|
207
207
|
- test/dummy/tmp/generators/config/routes.rb
|
208
|
-
- test/dummy/tmp/generators/db/migrate/
|
208
|
+
- test/dummy/tmp/generators/db/migrate/20140805093215_create_bizarroids_settings_options.rb
|
209
209
|
- test/fixtures/bizarroids/settings/options.yml
|
210
210
|
- test/helpers/bizarroids/settings/options_helper_test.rb
|
211
211
|
- test/integration/navigation_test.rb
|
@@ -302,7 +302,7 @@ test_files:
|
|
302
302
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
|
303
303
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
|
304
304
|
- test/dummy/tmp/generators/config/routes.rb
|
305
|
-
- test/dummy/tmp/generators/db/migrate/
|
305
|
+
- test/dummy/tmp/generators/db/migrate/20140805093215_create_bizarroids_settings_options.rb
|
306
306
|
- test/fixtures/bizarroids/settings/options.yml
|
307
307
|
- test/helpers/bizarroids/settings/options_helper_test.rb
|
308
308
|
- test/integration/navigation_test.rb
|