bizarroids_settings 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bizarroids/settings/engine.rb +0 -1
- data/lib/bizarroids/settings/version.rb +1 -1
- data/lib/bizarroids/settings.rb +0 -1
- data/test/dummy/log/test.log +904 -0
- data/test/dummy/tmp/generators/db/migrate/{20140802143121_create_bizarroids_settings_options.rb → 20140802150258_create_bizarroids_settings_options.rb} +0 -0
- metadata +3 -7
- data/app/assets/javascripts/bizarroids/application.js +0 -13
- data/app/assets/stylesheets/bizarroids/application.css +0 -15
- data/app/views/layouts/bizarroids/settings/application.html.erb +0 -14
- data/lib/bizarroids/settings/helpers/settings_helper.rb +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dd0d6d121b7844ca2851ad802cabdeaac235125
|
4
|
+
data.tar.gz: d7998cb2efe187f82c67bf9b8eecabd0e41726f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a24e72edd5350d96734f9c16dc3d95050ed246e2e95bf7377f67fa43d2b8e46529f858637fb26754dc5c79365787d51eb66ed34600aca80c27ff09cc7bdc56
|
7
|
+
data.tar.gz: 96021c066393f9fc712440e0e15139d013e98f0d3328c9a4459c29f79744e74ed3fb4b2153491c8caacea827a312e54d06b166237b2adcbde30b442a778fc6ca
|
data/lib/bizarroids/settings.rb
CHANGED
@@ -4,7 +4,6 @@ require 'simple_form'
|
|
4
4
|
require 'mini_magick'
|
5
5
|
require 'carrierwave'
|
6
6
|
|
7
|
-
require 'bizarroids/settings/helpers/settings_helper'
|
8
7
|
require 'bizarroids/settings/engine'
|
9
8
|
require 'bizarroids/settings/config_error'
|
10
9
|
require 'bizarroids/settings/bizarroids_settings_option_uploader'
|
data/test/dummy/log/test.log
CHANGED
@@ -94681,5 +94681,909 @@ Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
|
|
94681
94681
|
[1m[35m (0.0ms)[0m begin transaction
|
94682
94682
|
-----------------------------------------------------------
|
94683
94683
|
Bizarroids::Settings::OptionsControllerTest: test_the_truth
|
94684
|
+
-----------------------------------------------------------
|
94685
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
94686
|
+
[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
|
94687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94688
|
+
[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
|
94689
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94690
|
+
[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
|
94691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94692
|
+
[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
|
94693
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94694
|
+
[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
|
94695
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94696
|
+
[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
|
94697
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94698
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[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
|
94699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94700
|
+
[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
|
94701
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94702
|
+
[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
|
94703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94704
|
+
[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
|
94705
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94706
|
+
[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
|
94707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94708
|
+
[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
|
94709
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94710
|
+
[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
|
94711
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94712
|
+
[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
|
94713
|
+
[1m[35m (0.1ms)[0m commit transaction
|
94714
|
+
[1m[36mBizarroids::Settings::Option Load (0.1ms)[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
|
94715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94716
|
+
[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
|
94717
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94718
|
+
[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
|
94719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94720
|
+
[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
|
94721
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94722
|
+
[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
|
94723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94724
|
+
[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
|
94725
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94726
|
+
[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
|
94727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94728
|
+
[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
|
94729
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94730
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[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
|
94731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94732
|
+
[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
|
94733
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94734
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[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
|
94735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94736
|
+
[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
|
94737
|
+
[1m[35m (0.0ms)[0m commit transaction
|
94738
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
94739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94740
|
+
-------------------------------------------------------
|
94741
|
+
Bizarroids::Settings::OptionTest: test_avaliable_values
|
94742
|
+
-------------------------------------------------------
|
94743
|
+
[1m[36mBizarroids::Settings::Option Load (5.8ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
94744
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94745
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
94746
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94748
|
+
[1m[35mSQL (0.7ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
94749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94751
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
94752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94754
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
94755
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94756
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94757
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
94758
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94760
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
94761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94762
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94763
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
94764
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94765
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94766
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
94767
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94769
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
94770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94771
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94772
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
94773
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94775
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
94776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94778
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
94779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94781
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
94782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94783
|
+
[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
|
94784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94785
|
+
[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
|
94786
|
+
[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-02 15:02:58.643741"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-02 15:02:58.643741"], ["value_type", "string"]]
|
94787
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94788
|
+
[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
|
94789
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
94790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94791
|
+
---------------------------------------------------------
|
94792
|
+
Bizarroids::Settings::OptionTest: test_create_string_type
|
94793
|
+
---------------------------------------------------------
|
94794
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94795
|
+
[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
|
94796
|
+
[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-02 15:02:58.647239"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-02 15:02:58.647239"], ["value_type", "string"]]
|
94797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94798
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
94799
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94800
|
+
---------------------------------------------------------------------
|
94801
|
+
Bizarroids::Settings::OptionTest: test_set_value_should_update_option
|
94802
|
+
---------------------------------------------------------------------
|
94803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94804
|
+
[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
|
94805
|
+
[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-02 15:02:58.650104"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-02 15:02:58.650104"], ["value_type", "string"]]
|
94806
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94808
|
+
[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
|
94809
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14[0m [["string_value", "MyNewString"], ["updated_at", "2014-08-02 15:02:58.651702"]]
|
94810
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94811
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
94812
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94813
|
+
------------------------------------------------------------------------------------------------
|
94814
|
+
Bizarroids::Settings::OptionTest: test_should_validate_presence_of_value_if_required_set_to_true
|
94815
|
+
------------------------------------------------------------------------------------------------
|
94816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94817
|
+
[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
|
94818
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
94819
|
+
[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
|
94820
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
94821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94822
|
+
----------------------------------------------------
|
94823
|
+
Bizarroids::Settings::OptionTest: test_test_fixtures
|
94824
|
+
----------------------------------------------------
|
94825
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
94826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94827
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
94828
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94829
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94830
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
94831
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94832
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
94833
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
94834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94835
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94836
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
94837
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94838
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94839
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
94840
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94841
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94842
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
94843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94845
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
94846
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94847
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94848
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
94849
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94850
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94851
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
94852
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94854
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
94855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94857
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
94858
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94859
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94860
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
94861
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
94863
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
94864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94865
|
+
[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
|
94866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94867
|
+
[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
|
94868
|
+
[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-02 15:02:58.670553"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.670553"], ["value_type", "string"]]
|
94869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94870
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "bizarroids_settings_options"
|
94871
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
94872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94873
|
+
------------------------------------------------
|
94874
|
+
Bizarroids::Settings::OptionTest: test_the_truth
|
94875
|
+
------------------------------------------------
|
94876
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
94877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94878
|
+
--------------------------------------
|
94879
|
+
BizarroidsTest: test_Bizarroids_module
|
94880
|
+
--------------------------------------
|
94881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
94882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94883
|
+
------------------------------------------------------------------------
|
94884
|
+
Bizarroids::Settings::InstallGeneratorTest: test_generator_creates_files
|
94885
|
+
------------------------------------------------------------------------
|
94886
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
94887
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94888
|
+
------------------------------------------------------------------------------
|
94889
|
+
Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
|
94890
|
+
------------------------------------------------------------------------------
|
94891
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
94892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94893
|
+
------------------------------------------------------------
|
94894
|
+
Bizarroids::SettingsTest: test_Duplicate_option_raises_error
|
94895
|
+
------------------------------------------------------------
|
94896
|
+
[1m[36mBizarroids::Settings::Option Load (0.3ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
94897
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94898
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
94899
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94900
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94901
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
94902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94904
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
94905
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94906
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94907
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
94908
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94909
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94910
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
94911
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94913
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
94914
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94916
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
94917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
94918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94919
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
94920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94922
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
94923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94925
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
94926
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94927
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94928
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
94929
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
94930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94931
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
94932
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94934
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
94935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94936
|
+
[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
|
94937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94938
|
+
[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
|
94939
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-02 15:02:58.694414"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-02 15:02:58.694414"], ["value_type", "string"]]
|
94940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94941
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
94942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
94943
|
+
-------------------------------------------------------------------
|
94944
|
+
Bizarroids::SettingsTest: test_Hidden_flag_requires_non_blank_value
|
94945
|
+
-------------------------------------------------------------------
|
94946
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
94947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94948
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
94949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94951
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
94952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94954
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
94955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94957
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
94958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94960
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
94961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94962
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94963
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
94964
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94965
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94966
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
94967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94969
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
94970
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94972
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
94973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94975
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
94976
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94977
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94978
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
94979
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94980
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94981
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
94982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94983
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94984
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
94985
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94986
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
94987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
94988
|
+
--------------------------------------------------------------------
|
94989
|
+
Bizarroids::SettingsTest: test_Require_flag_requires_non_blank_value
|
94990
|
+
--------------------------------------------------------------------
|
94991
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
94992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94993
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
94994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94996
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
94997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94999
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95000
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95001
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
95002
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95004
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95005
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95006
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95007
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95008
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95011
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95014
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95015
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95016
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95017
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95020
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95021
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95023
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95024
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95025
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95026
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95029
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95031
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95033
|
+
----------------------------------------------------------
|
95034
|
+
Bizarroids::SettingsTest: test_collection_must_be_an_array
|
95035
|
+
----------------------------------------------------------
|
95036
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95038
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95039
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95041
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95044
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95047
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95050
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95052
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95053
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95056
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95058
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95059
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95061
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95062
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95063
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95064
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95065
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95066
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95067
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95068
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95069
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95071
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95074
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95076
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95078
|
+
----------------------------------------------------------------
|
95079
|
+
Bizarroids::SettingsTest: test_collection_sets_attribute_to_true
|
95080
|
+
----------------------------------------------------------------
|
95081
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95083
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95086
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95088
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95089
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95092
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95095
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95097
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95098
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95099
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95101
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95102
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95103
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95104
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95105
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95107
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95109
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95110
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95111
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95112
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95113
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95114
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95115
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95116
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95117
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95119
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95121
|
+
[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
|
95122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95123
|
+
[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
|
95124
|
+
[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-02 15:02:58.725302"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-02 15:02:58.725302"], ["value_type", "string"]]
|
95125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95126
|
+
[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
|
95127
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95129
|
+
----------------------------------------------------------
|
95130
|
+
Bizarroids::SettingsTest: test_creating_option_from_config
|
95131
|
+
----------------------------------------------------------
|
95132
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95134
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95137
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95140
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95143
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95146
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95147
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95149
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95152
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95155
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95158
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95161
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95164
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95165
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95167
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95170
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95172
|
+
[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
|
95173
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95174
|
+
[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
|
95175
|
+
[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-02 15:02:58.735084"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.735084"], ["value_type", "string"]]
|
95176
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95177
|
+
[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
|
95178
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95180
|
+
----------------------------------------------------
|
95181
|
+
Bizarroids::SettingsTest: test_get_:key_retuns_value
|
95182
|
+
----------------------------------------------------
|
95183
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95185
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95186
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95188
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95191
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95192
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95194
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95197
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95200
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95202
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95203
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95206
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95209
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95212
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95214
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95215
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95218
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95219
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95221
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95223
|
+
[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
|
95224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95225
|
+
[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
|
95226
|
+
[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-02 15:02:58.745401"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.745401"], ["value_type", "string"]]
|
95227
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95228
|
+
[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
|
95229
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95231
|
+
----------------------------------------------------------------------------------------------
|
95232
|
+
Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_not_configured_key
|
95233
|
+
----------------------------------------------------------------------------------------------
|
95234
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95235
|
+
[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
|
95236
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-02 15:02:58.748483"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-02 15:02:58.748483"], ["value_type", "string"]]
|
95237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95238
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95240
|
+
---------------------------------------------------------------------------------------
|
95241
|
+
Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_unknown_key
|
95242
|
+
---------------------------------------------------------------------------------------
|
95243
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95245
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95248
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95251
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95252
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95254
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95257
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95260
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95263
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95266
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95269
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95272
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95275
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95278
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
95280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95281
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95282
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95283
|
+
[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
|
95284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95285
|
+
[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
|
95286
|
+
[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-02 15:02:58.758618"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.758618"], ["value_type", "string"]]
|
95287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95288
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
95289
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95290
|
+
-------------------------------------------------
|
95291
|
+
Bizarroids::SettingsTest: test_is_a_module_module
|
95292
|
+
-------------------------------------------------
|
95293
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
95294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95295
|
+
----------------------------------------------------------
|
95296
|
+
Bizarroids::SettingsTest: test_keys_returns_all_known_keys
|
95297
|
+
----------------------------------------------------------
|
95298
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
95299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95300
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
95301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95303
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
95304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95306
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
95307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95309
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
95310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95312
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
95313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95315
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
95316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95318
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
95319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95321
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
95322
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95324
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
95325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95327
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
95328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95330
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
95331
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
95332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95333
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
95334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95335
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95336
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
95337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95338
|
+
[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
|
95339
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95340
|
+
[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
|
95341
|
+
[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-02 15:02:58.769168"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.769168"], ["value_type", "string"]]
|
95342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95343
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
95344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95345
|
+
---------------------------------------------
|
95346
|
+
Bizarroids::SettingsTest: test_respond_to_#[]
|
95347
|
+
---------------------------------------------
|
95348
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
95349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95350
|
+
----------------------------------------------
|
95351
|
+
Bizarroids::SettingsTest: test_respond_to_#[]=
|
95352
|
+
----------------------------------------------
|
95353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
95354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95355
|
+
----------------------------------------------
|
95356
|
+
Bizarroids::SettingsTest: test_respond_to_#get
|
95357
|
+
----------------------------------------------
|
95358
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
95359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95360
|
+
----------------------------------------------
|
95361
|
+
Bizarroids::SettingsTest: test_respond_to_#set
|
95362
|
+
----------------------------------------------
|
95363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
95364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95365
|
+
-------------------------------------------------------------
|
95366
|
+
Bizarroids::SettingsTest: test_set_:key,_value_updates_option
|
95367
|
+
-------------------------------------------------------------
|
95368
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95369
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95370
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95371
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95372
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95373
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95376
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95378
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95379
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95382
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95383
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95384
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95385
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95386
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95388
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95389
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95391
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95394
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95397
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95400
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95403
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95405
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95406
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95408
|
+
[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
|
95409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95410
|
+
[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
|
95411
|
+
[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-02 15:02:58.780614"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.780614"], ["value_type", "string"]]
|
95412
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95413
|
+
[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
|
95414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95415
|
+
[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
|
95416
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14 [["string_value", "NewStringValue"], ["updated_at", "2014-08-02 15:02:58.782573"]]
|
95417
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95418
|
+
[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
|
95419
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
95420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95421
|
+
----------------------------------------------------------------------------------------------
|
95422
|
+
Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_not_configured_key
|
95423
|
+
----------------------------------------------------------------------------------------------
|
95424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95425
|
+
[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
|
95426
|
+
[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-02 15:02:58.785665"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-02 15:02:58.785665"], ["value_type", "string"]]
|
95427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95428
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
95429
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95430
|
+
---------------------------------------------------------------------------------------
|
95431
|
+
Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_unknown_key
|
95432
|
+
---------------------------------------------------------------------------------------
|
95433
|
+
[1m[36mBizarroids::Settings::Option Load (0.2ms)[0m [1mSELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC[0m
|
95434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95435
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 1]]
|
95436
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95437
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95438
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
|
95439
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95441
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 3]]
|
95442
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
95443
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95444
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
|
95445
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95446
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95447
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 5]]
|
95448
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95449
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
95450
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
|
95451
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95453
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 7]]
|
95454
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95455
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95456
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
|
95457
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95458
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95459
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 9]]
|
95460
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95462
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
|
95463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95465
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 11]]
|
95466
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95468
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
|
95469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95471
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 13]]
|
95472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95473
|
+
[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
|
95474
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95475
|
+
[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
|
95476
|
+
[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-02 15:02:58.794949"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.794949"], ["value_type", "string"]]
|
95477
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95478
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
95479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95480
|
+
------------------------------------------------------
|
95481
|
+
Bizarroids::SettingsTest: test_setup_block_yields_self
|
95482
|
+
------------------------------------------------------
|
95483
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
95484
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95485
|
+
--------------------------------------------------------------------------------------------------
|
95486
|
+
Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_input_options_should_return_hash
|
95487
|
+
--------------------------------------------------------------------------------------------------
|
95488
|
+
[1m[35mBizarroids::Settings::Option Load (0.3ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95490
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95493
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95495
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95496
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95499
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95502
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95505
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95507
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95508
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95511
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95514
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95517
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95520
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95521
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95523
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95524
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95525
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95526
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95528
|
+
[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
|
95529
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95530
|
+
[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
|
95531
|
+
[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-02 15:02:58.807123"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.807123"], ["value_type", "string"]]
|
95532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
95533
|
+
[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
|
95534
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
95535
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95536
|
+
-------------------------------------------------------------------------------------------------------
|
95537
|
+
Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collection_should_return_array
|
95538
|
+
-------------------------------------------------------------------------------------------------------
|
95539
|
+
[1m[35mBizarroids::Settings::Option Load (0.2ms)[0m SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
|
95540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95541
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
|
95542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95544
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 2]]
|
95545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95547
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
|
95548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95550
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 4]]
|
95551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95553
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
|
95554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95556
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 6]]
|
95557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95559
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
|
95560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95562
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 8]]
|
95563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95565
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
|
95566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95568
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 10]]
|
95569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95571
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
|
95572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
95574
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ?[0m [["id", 12]]
|
95575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95577
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
|
95578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
95579
|
+
[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
|
95580
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95581
|
+
[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
|
95582
|
+
[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-02 15:02:58.818040"], ["key", "string_collection_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-02 15:02:58.818040"], ["value_type", "string"]]
|
95583
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
95584
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
95585
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95586
|
+
-----------------------------------------------------------
|
95587
|
+
Bizarroids::Settings::OptionsControllerTest: test_the_truth
|
94684
95588
|
-----------------------------------------------------------
|
94685
95589
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corlinus
|
@@ -118,8 +118,6 @@ files:
|
|
118
118
|
- MIT-LICENSE
|
119
119
|
- README.rdoc
|
120
120
|
- Rakefile
|
121
|
-
- app/assets/javascripts/bizarroids/application.js
|
122
|
-
- app/assets/stylesheets/bizarroids/application.css
|
123
121
|
- app/controllers/bizarroids/settings/application_controller.rb
|
124
122
|
- app/controllers/bizarroids/settings/options_controller.rb
|
125
123
|
- app/helpers/bizarroids/settings/options_helper.rb
|
@@ -127,7 +125,6 @@ files:
|
|
127
125
|
- app/models/bizarroids/settings/option.rb
|
128
126
|
- app/views/bizarroids/settings/options/edit.html.erb
|
129
127
|
- app/views/bizarroids/settings/options/index.html.erb
|
130
|
-
- app/views/layouts/bizarroids/settings/application.html.erb
|
131
128
|
- config/routes.rb
|
132
129
|
- db/schema.rb
|
133
130
|
- lib/bizarroids.rb
|
@@ -135,7 +132,6 @@ files:
|
|
135
132
|
- lib/bizarroids/settings/bizarroids_settings_option_uploader.rb
|
136
133
|
- lib/bizarroids/settings/config_error.rb
|
137
134
|
- lib/bizarroids/settings/engine.rb
|
138
|
-
- lib/bizarroids/settings/helpers/settings_helper.rb
|
139
135
|
- lib/bizarroids/settings/version.rb
|
140
136
|
- lib/bizarroids_settings.rb
|
141
137
|
- lib/generators/bizarroids/settings/install/USAGE
|
@@ -209,7 +205,7 @@ files:
|
|
209
205
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
|
210
206
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
|
211
207
|
- test/dummy/tmp/generators/config/routes.rb
|
212
|
-
- test/dummy/tmp/generators/db/migrate/
|
208
|
+
- test/dummy/tmp/generators/db/migrate/20140802150258_create_bizarroids_settings_options.rb
|
213
209
|
- test/fixtures/bizarroids/settings/options.yml
|
214
210
|
- test/helpers/bizarroids/settings/options_helper_test.rb
|
215
211
|
- test/integration/navigation_test.rb
|
@@ -306,7 +302,7 @@ test_files:
|
|
306
302
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
|
307
303
|
- test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
|
308
304
|
- test/dummy/tmp/generators/config/routes.rb
|
309
|
-
- test/dummy/tmp/generators/db/migrate/
|
305
|
+
- test/dummy/tmp/generators/db/migrate/20140802150258_create_bizarroids_settings_options.rb
|
310
306
|
- test/fixtures/bizarroids/settings/options.yml
|
311
307
|
- test/helpers/bizarroids/settings/options_helper_test.rb
|
312
308
|
- test/integration/navigation_test.rb
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Bizarroids</title>
|
5
|
-
<%= stylesheet_link_tag "bizarroids/application", media: "all" %>
|
6
|
-
<%= javascript_include_tag "bizarroids/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
module Bizarroids::Settings
|
2
|
-
module SettingsHelper
|
3
|
-
def bizarroids_edit_button path
|
4
|
-
link_to path, class: 'btn btn-link btn-xs text-primary' do
|
5
|
-
content_tag :span, '', class: 'glyphicon glyphicon-pencil'
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
def bizarroids_t key
|
10
|
-
t key, scope: :bizarroids
|
11
|
-
end
|
12
|
-
|
13
|
-
def bizarroids_settings_menu_link
|
14
|
-
link_to Bizarroids::Settings::Option.model_name.human(count: 10),
|
15
|
-
bizarroids_settings_engine.options_path,
|
16
|
-
class: bizarroids_settings_menu_link_class
|
17
|
-
end
|
18
|
-
|
19
|
-
def bizarroids_settings_menu_link_class
|
20
|
-
bizarroids_settings_menu_link_active? ? :active : nil
|
21
|
-
end
|
22
|
-
|
23
|
-
def bizarroids_settings_menu_link_active?
|
24
|
-
controller.kind_of?(Bizarroids::Settings::OptionsController)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|