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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59811ae2e4943af1f4bf06dd4dd10bbda512d03b
4
- data.tar.gz: ded645fc5f175f9bd39aeac14e46ccce006e8404
3
+ metadata.gz: 3dd0d6d121b7844ca2851ad802cabdeaac235125
4
+ data.tar.gz: d7998cb2efe187f82c67bf9b8eecabd0e41726f4
5
5
  SHA512:
6
- metadata.gz: bf46de55f1db8143b409d49af36218308457460062735ea4e340e922d9341f84ae642fc9812848537ebb43fe14aa19d93851a2ac31c14743ed223200edbf0e43
7
- data.tar.gz: 922087c719a1306aefb58e7ff372394fb0073fbb9e9dd529bba1686ad539a2d3152fcdf399bd21042d781b1fc0cbfb794f77cc353e1302967e7cc1b77e42af37
6
+ metadata.gz: 77a24e72edd5350d96734f9c16dc3d95050ed246e2e95bf7377f67fa43d2b8e46529f858637fb26754dc5c79365787d51eb66ed34600aca80c27ff09cc7bdc56
7
+ data.tar.gz: 96021c066393f9fc712440e0e15139d013e98f0d3328c9a4459c29f79744e74ed3fb4b2153491c8caacea827a312e54d06b166237b2adcbde30b442a778fc6ca
@@ -1,4 +1,3 @@
1
- require 'bizarroids/settings/helpers/settings_helper'
2
1
  module Bizarroids
3
2
  module Settings
4
3
  class Engine < ::Rails::Engine
@@ -1,5 +1,5 @@
1
1
  module Bizarroids
2
2
  module Settings
3
- VERSION = "0.1.2".freeze
3
+ VERSION = "0.1.3".freeze
4
4
  end
5
5
  end
@@ -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'
@@ -94681,5 +94681,909 @@ Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
94681
94681
   (0.0ms) begin transaction
94682
94682
  -----------------------------------------------------------
94683
94683
  Bizarroids::Settings::OptionsControllerTest: test_the_truth
94684
+ -----------------------------------------------------------
94685
+  (0.1ms) rollback transaction
94686
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94687
+  (0.1ms) begin transaction
94688
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 1) LIMIT 1
94689
+  (0.0ms) commit transaction
94690
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'integer_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94691
+  (0.0ms) begin transaction
94692
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'integer_option' AND "bizarroids_settings_options"."id" != 2) LIMIT 1
94693
+  (0.0ms) commit transaction
94694
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'float_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94695
+  (0.0ms) begin transaction
94696
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'float_option' AND "bizarroids_settings_options"."id" != 3) LIMIT 1
94697
+  (0.0ms) commit transaction
94698
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'boolean_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94699
+  (0.0ms) begin transaction
94700
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'boolean_option' AND "bizarroids_settings_options"."id" != 4) LIMIT 1
94701
+  (0.0ms) commit transaction
94702
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'date_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94703
+  (0.0ms) begin transaction
94704
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'date_option' AND "bizarroids_settings_options"."id" != 5) LIMIT 1
94705
+  (0.0ms) commit transaction
94706
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'datetime_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94707
+  (0.0ms) begin transaction
94708
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'datetime_option' AND "bizarroids_settings_options"."id" != 6) LIMIT 1
94709
+  (0.0ms) commit transaction
94710
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'text_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94711
+  (0.0ms) begin transaction
94712
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option' AND "bizarroids_settings_options"."id" != 7) LIMIT 1
94713
+  (0.1ms) commit transaction
94714
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'file_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94715
+  (0.0ms) begin transaction
94716
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'file_option' AND "bizarroids_settings_options"."id" != 8) LIMIT 1
94717
+  (0.0ms) commit transaction
94718
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94719
+  (0.0ms) begin transaction
94720
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_collection' AND "bizarroids_settings_options"."id" != 9) LIMIT 1
94721
+  (0.0ms) commit transaction
94722
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'hidden_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94723
+  (0.0ms) begin transaction
94724
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'hidden_option' AND "bizarroids_settings_options"."id" != 10) LIMIT 1
94725
+  (0.0ms) commit transaction
94726
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'required_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94727
+  (0.0ms) begin transaction
94728
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'required_option' AND "bizarroids_settings_options"."id" != 11) LIMIT 1
94729
+  (0.0ms) commit transaction
94730
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'user_friendly_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94731
+  (0.0ms) begin transaction
94732
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'user_friendly_option' AND "bizarroids_settings_options"."id" != 12) LIMIT 1
94733
+  (0.0ms) commit transaction
94734
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "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
94735
+  (0.0ms) begin transaction
94736
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option_with_class' AND "bizarroids_settings_options"."id" != 13) LIMIT 1
94737
+  (0.0ms) commit transaction
94738
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94739
+  (0.1ms) begin transaction
94740
+ -------------------------------------------------------
94741
+ Bizarroids::Settings::OptionTest: test_avaliable_values
94742
+ -------------------------------------------------------
94743
+ Bizarroids::Settings::Option Load (5.8ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
94744
+  (0.0ms) SAVEPOINT active_record_1
94745
+ SQL (0.3ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
94746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94747
+  (0.0ms) SAVEPOINT active_record_1
94748
+ SQL (0.7ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
94749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94750
+  (0.0ms) SAVEPOINT active_record_1
94751
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
94752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94753
+  (0.0ms) SAVEPOINT active_record_1
94754
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
94755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94756
+  (0.0ms) SAVEPOINT active_record_1
94757
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
94758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94759
+  (0.0ms) SAVEPOINT active_record_1
94760
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
94761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94762
+  (0.0ms) SAVEPOINT active_record_1
94763
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
94764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94765
+  (0.0ms) SAVEPOINT active_record_1
94766
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
94767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94768
+  (0.0ms) SAVEPOINT active_record_1
94769
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
94770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94771
+  (0.0ms) SAVEPOINT active_record_1
94772
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
94773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94774
+  (0.0ms) SAVEPOINT active_record_1
94775
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
94776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94777
+  (0.0ms) SAVEPOINT active_record_1
94778
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
94779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94780
+  (0.0ms) SAVEPOINT active_record_1
94781
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
94782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94783
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94784
+  (0.0ms) SAVEPOINT active_record_1
94785
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
94786
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94788
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.6ms) rollback transaction
94790
+  (0.1ms) begin transaction
94791
+ ---------------------------------------------------------
94792
+ Bizarroids::Settings::OptionTest: test_create_string_type
94793
+ ---------------------------------------------------------
94794
+  (0.0ms) SAVEPOINT active_record_1
94795
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
94796
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94798
+  (0.5ms) rollback transaction
94799
+  (0.0ms) begin transaction
94800
+ ---------------------------------------------------------------------
94801
+ Bizarroids::Settings::OptionTest: test_set_value_should_update_option
94802
+ ---------------------------------------------------------------------
94803
+  (0.0ms) SAVEPOINT active_record_1
94804
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
94805
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94807
+  (0.0ms) SAVEPOINT active_record_1
94808
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'test_string' AND "bizarroids_settings_options"."id" != 14) LIMIT 1
94809
+ SQL (0.3ms) UPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14 [["string_value", "MyNewString"], ["updated_at", "2014-08-02 15:02:58.651702"]]
94810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94811
+  (0.4ms) rollback transaction
94812
+  (0.1ms) begin transaction
94813
+ ------------------------------------------------------------------------------------------------
94814
+ Bizarroids::Settings::OptionTest: test_should_validate_presence_of_value_if_required_set_to_true
94815
+ ------------------------------------------------------------------------------------------------
94816
+  (0.0ms) SAVEPOINT active_record_1
94817
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
94818
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
94819
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
94820
+  (0.0ms) rollback transaction
94821
+  (0.0ms) begin transaction
94822
+ ----------------------------------------------------
94823
+ Bizarroids::Settings::OptionTest: test_test_fixtures
94824
+ ----------------------------------------------------
94825
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
94826
+  (0.0ms) SAVEPOINT active_record_1
94827
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
94828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94829
+  (0.0ms) SAVEPOINT active_record_1
94830
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
94831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94832
+  (0.1ms) SAVEPOINT active_record_1
94833
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
94834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94835
+  (0.0ms) SAVEPOINT active_record_1
94836
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
94837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94838
+  (0.0ms) SAVEPOINT active_record_1
94839
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
94840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94841
+  (0.0ms) SAVEPOINT active_record_1
94842
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
94843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94844
+  (0.0ms) SAVEPOINT active_record_1
94845
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
94846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94847
+  (0.0ms) SAVEPOINT active_record_1
94848
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
94849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94850
+  (0.0ms) SAVEPOINT active_record_1
94851
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
94852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94853
+  (0.0ms) SAVEPOINT active_record_1
94854
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
94855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94856
+  (0.0ms) SAVEPOINT active_record_1
94857
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
94858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94859
+  (0.0ms) SAVEPOINT active_record_1
94860
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
94861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94862
+  (0.1ms) SAVEPOINT active_record_1
94863
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
94864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94865
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94866
+  (0.0ms) SAVEPOINT active_record_1
94867
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
94868
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94870
+  (0.0ms) SELECT COUNT(*) FROM "bizarroids_settings_options"
94871
+  (0.5ms) rollback transaction
94872
+  (0.0ms) begin transaction
94873
+ ------------------------------------------------
94874
+ Bizarroids::Settings::OptionTest: test_the_truth
94875
+ ------------------------------------------------
94876
+  (0.0ms) rollback transaction
94877
+  (0.0ms) begin transaction
94878
+ --------------------------------------
94879
+ BizarroidsTest: test_Bizarroids_module
94880
+ --------------------------------------
94881
+  (0.0ms) rollback transaction
94882
+  (0.0ms) begin transaction
94883
+ ------------------------------------------------------------------------
94884
+ Bizarroids::Settings::InstallGeneratorTest: test_generator_creates_files
94885
+ ------------------------------------------------------------------------
94886
+  (0.1ms) rollback transaction
94887
+  (0.0ms) begin transaction
94888
+ ------------------------------------------------------------------------------
94889
+ Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
94890
+ ------------------------------------------------------------------------------
94891
+  (0.1ms) rollback transaction
94892
+  (0.0ms) begin transaction
94893
+ ------------------------------------------------------------
94894
+ Bizarroids::SettingsTest: test_Duplicate_option_raises_error
94895
+ ------------------------------------------------------------
94896
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
94897
+  (0.0ms) SAVEPOINT active_record_1
94898
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
94899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94900
+  (0.0ms) SAVEPOINT active_record_1
94901
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
94902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
94903
+  (0.0ms) SAVEPOINT active_record_1
94904
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
94905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94906
+  (0.0ms) SAVEPOINT active_record_1
94907
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
94908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94909
+  (0.0ms) SAVEPOINT active_record_1
94910
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
94911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94912
+  (0.0ms) SAVEPOINT active_record_1
94913
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
94914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94915
+  (0.0ms) SAVEPOINT active_record_1
94916
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
94917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
94918
+  (0.0ms) SAVEPOINT active_record_1
94919
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
94920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94921
+  (0.0ms) SAVEPOINT active_record_1
94922
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
94923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94924
+  (0.0ms) SAVEPOINT active_record_1
94925
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
94926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94927
+  (0.0ms) SAVEPOINT active_record_1
94928
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
94929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
94930
+  (0.0ms) SAVEPOINT active_record_1
94931
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
94932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94933
+  (0.0ms) SAVEPOINT active_record_1
94934
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
94935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94936
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
94937
+  (0.0ms) SAVEPOINT active_record_1
94938
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
94939
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94941
+  (0.5ms) rollback transaction
94942
+  (0.0ms) begin transaction
94943
+ -------------------------------------------------------------------
94944
+ Bizarroids::SettingsTest: test_Hidden_flag_requires_non_blank_value
94945
+ -------------------------------------------------------------------
94946
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
94947
+  (0.0ms) SAVEPOINT active_record_1
94948
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
94949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94950
+  (0.0ms) SAVEPOINT active_record_1
94951
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
94952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94953
+  (0.0ms) SAVEPOINT active_record_1
94954
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
94955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94956
+  (0.0ms) SAVEPOINT active_record_1
94957
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
94958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94959
+  (0.0ms) SAVEPOINT active_record_1
94960
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
94961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94962
+  (0.0ms) SAVEPOINT active_record_1
94963
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
94964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94965
+  (0.0ms) SAVEPOINT active_record_1
94966
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
94967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94968
+  (0.0ms) SAVEPOINT active_record_1
94969
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
94970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94971
+  (0.0ms) SAVEPOINT active_record_1
94972
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
94973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94974
+  (0.0ms) SAVEPOINT active_record_1
94975
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
94976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94977
+  (0.0ms) SAVEPOINT active_record_1
94978
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
94979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94980
+  (0.0ms) SAVEPOINT active_record_1
94981
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
94982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94983
+  (0.0ms) SAVEPOINT active_record_1
94984
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
94985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94986
+  (0.5ms) rollback transaction
94987
+  (0.0ms) begin transaction
94988
+ --------------------------------------------------------------------
94989
+ Bizarroids::SettingsTest: test_Require_flag_requires_non_blank_value
94990
+ --------------------------------------------------------------------
94991
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
94992
+  (0.0ms) SAVEPOINT active_record_1
94993
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
94994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94995
+  (0.0ms) SAVEPOINT active_record_1
94996
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
94997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94998
+  (0.0ms) SAVEPOINT active_record_1
94999
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95001
+  (0.1ms) SAVEPOINT active_record_1
95002
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95004
+  (0.1ms) SAVEPOINT active_record_1
95005
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95007
+  (0.0ms) SAVEPOINT active_record_1
95008
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95010
+  (0.0ms) SAVEPOINT active_record_1
95011
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95013
+  (0.0ms) SAVEPOINT active_record_1
95014
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95016
+  (0.0ms) SAVEPOINT active_record_1
95017
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95019
+  (0.0ms) SAVEPOINT active_record_1
95020
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95022
+  (0.0ms) SAVEPOINT active_record_1
95023
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95025
+  (0.0ms) SAVEPOINT active_record_1
95026
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95028
+  (0.0ms) SAVEPOINT active_record_1
95029
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95031
+  (0.5ms) rollback transaction
95032
+  (0.0ms) begin transaction
95033
+ ----------------------------------------------------------
95034
+ Bizarroids::SettingsTest: test_collection_must_be_an_array
95035
+ ----------------------------------------------------------
95036
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95037
+  (0.0ms) SAVEPOINT active_record_1
95038
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95040
+  (0.0ms) SAVEPOINT active_record_1
95041
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95043
+  (0.0ms) SAVEPOINT active_record_1
95044
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95046
+  (0.0ms) SAVEPOINT active_record_1
95047
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95049
+  (0.0ms) SAVEPOINT active_record_1
95050
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95052
+  (0.0ms) SAVEPOINT active_record_1
95053
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95055
+  (0.0ms) SAVEPOINT active_record_1
95056
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95058
+  (0.0ms) SAVEPOINT active_record_1
95059
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95061
+  (0.0ms) SAVEPOINT active_record_1
95062
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95064
+  (0.0ms) SAVEPOINT active_record_1
95065
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95067
+  (0.0ms) SAVEPOINT active_record_1
95068
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95070
+  (0.0ms) SAVEPOINT active_record_1
95071
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95073
+  (0.0ms) SAVEPOINT active_record_1
95074
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95076
+  (0.5ms) rollback transaction
95077
+  (0.0ms) begin transaction
95078
+ ----------------------------------------------------------------
95079
+ Bizarroids::SettingsTest: test_collection_sets_attribute_to_true
95080
+ ----------------------------------------------------------------
95081
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95082
+  (0.0ms) SAVEPOINT active_record_1
95083
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95085
+  (0.0ms) SAVEPOINT active_record_1
95086
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95088
+  (0.1ms) SAVEPOINT active_record_1
95089
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95091
+  (0.0ms) SAVEPOINT active_record_1
95092
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95094
+  (0.0ms) SAVEPOINT active_record_1
95095
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95097
+  (0.0ms) SAVEPOINT active_record_1
95098
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95100
+  (0.0ms) SAVEPOINT active_record_1
95101
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95103
+  (0.0ms) SAVEPOINT active_record_1
95104
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95106
+  (0.0ms) SAVEPOINT active_record_1
95107
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95109
+  (0.0ms) SAVEPOINT active_record_1
95110
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95112
+  (0.0ms) SAVEPOINT active_record_1
95113
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95115
+  (0.0ms) SAVEPOINT active_record_1
95116
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95118
+  (0.0ms) SAVEPOINT active_record_1
95119
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95121
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95123
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95124
+ SQL (0.1ms) 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.725302"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-02 15:02:58.725302"], ["value_type", "string"]]
95125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95126
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95127
+  (0.5ms) rollback transaction
95128
+  (0.1ms) begin transaction
95129
+ ----------------------------------------------------------
95130
+ Bizarroids::SettingsTest: test_creating_option_from_config
95131
+ ----------------------------------------------------------
95132
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95133
+  (0.0ms) SAVEPOINT active_record_1
95134
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95136
+  (0.0ms) SAVEPOINT active_record_1
95137
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95139
+  (0.0ms) SAVEPOINT active_record_1
95140
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95142
+  (0.0ms) SAVEPOINT active_record_1
95143
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95145
+  (0.0ms) SAVEPOINT active_record_1
95146
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95148
+  (0.0ms) SAVEPOINT active_record_1
95149
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95151
+  (0.0ms) SAVEPOINT active_record_1
95152
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95154
+  (0.0ms) SAVEPOINT active_record_1
95155
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95157
+  (0.0ms) SAVEPOINT active_record_1
95158
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95160
+  (0.0ms) SAVEPOINT active_record_1
95161
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95163
+  (0.0ms) SAVEPOINT active_record_1
95164
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95166
+  (0.0ms) SAVEPOINT active_record_1
95167
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95169
+  (0.0ms) SAVEPOINT active_record_1
95170
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95172
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
95174
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95175
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95177
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95178
+  (0.5ms) rollback transaction
95179
+  (0.1ms) begin transaction
95180
+ ----------------------------------------------------
95181
+ Bizarroids::SettingsTest: test_get_:key_retuns_value
95182
+ ----------------------------------------------------
95183
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95184
+  (0.0ms) SAVEPOINT active_record_1
95185
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95187
+  (0.0ms) SAVEPOINT active_record_1
95188
+ SQL (0.3ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95190
+  (0.1ms) SAVEPOINT active_record_1
95191
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95193
+  (0.0ms) SAVEPOINT active_record_1
95194
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95196
+  (0.0ms) SAVEPOINT active_record_1
95197
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95199
+  (0.0ms) SAVEPOINT active_record_1
95200
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95202
+  (0.0ms) SAVEPOINT active_record_1
95203
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95205
+  (0.0ms) SAVEPOINT active_record_1
95206
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95208
+  (0.1ms) SAVEPOINT active_record_1
95209
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95211
+  (0.0ms) SAVEPOINT active_record_1
95212
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95214
+  (0.0ms) SAVEPOINT active_record_1
95215
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95217
+  (0.0ms) SAVEPOINT active_record_1
95218
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95220
+  (0.0ms) SAVEPOINT active_record_1
95221
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95223
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95225
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95226
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95228
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95229
+  (0.5ms) rollback transaction
95230
+  (0.1ms) begin transaction
95231
+ ----------------------------------------------------------------------------------------------
95232
+ Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_not_configured_key
95233
+ ----------------------------------------------------------------------------------------------
95234
+  (0.0ms) SAVEPOINT active_record_1
95235
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1
95236
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95238
+  (0.5ms) rollback transaction
95239
+  (0.0ms) begin transaction
95240
+ ---------------------------------------------------------------------------------------
95241
+ Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_unknown_key
95242
+ ---------------------------------------------------------------------------------------
95243
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95244
+  (0.0ms) SAVEPOINT active_record_1
95245
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95247
+  (0.0ms) SAVEPOINT active_record_1
95248
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95250
+  (0.0ms) SAVEPOINT active_record_1
95251
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95253
+  (0.0ms) SAVEPOINT active_record_1
95254
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95256
+  (0.0ms) SAVEPOINT active_record_1
95257
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95259
+  (0.0ms) SAVEPOINT active_record_1
95260
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95262
+  (0.0ms) SAVEPOINT active_record_1
95263
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95265
+  (0.0ms) SAVEPOINT active_record_1
95266
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95268
+  (0.0ms) SAVEPOINT active_record_1
95269
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95271
+  (0.0ms) SAVEPOINT active_record_1
95272
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95274
+  (0.0ms) SAVEPOINT active_record_1
95275
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95277
+  (0.0ms) SAVEPOINT active_record_1
95278
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95280
+  (0.0ms) SAVEPOINT active_record_1
95281
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95283
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95285
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95286
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95288
+  (0.5ms) rollback transaction
95289
+  (0.1ms) begin transaction
95290
+ -------------------------------------------------
95291
+ Bizarroids::SettingsTest: test_is_a_module_module
95292
+ -------------------------------------------------
95293
+  (0.0ms) rollback transaction
95294
+  (0.0ms) begin transaction
95295
+ ----------------------------------------------------------
95296
+ Bizarroids::SettingsTest: test_keys_returns_all_known_keys
95297
+ ----------------------------------------------------------
95298
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95299
+  (0.0ms) SAVEPOINT active_record_1
95300
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95302
+  (0.0ms) SAVEPOINT active_record_1
95303
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95305
+  (0.0ms) SAVEPOINT active_record_1
95306
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95308
+  (0.1ms) SAVEPOINT active_record_1
95309
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95311
+  (0.0ms) SAVEPOINT active_record_1
95312
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95314
+  (0.0ms) SAVEPOINT active_record_1
95315
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95317
+  (0.0ms) SAVEPOINT active_record_1
95318
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95320
+  (0.0ms) SAVEPOINT active_record_1
95321
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95323
+  (0.0ms) SAVEPOINT active_record_1
95324
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95326
+  (0.0ms) SAVEPOINT active_record_1
95327
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95329
+  (0.0ms) SAVEPOINT active_record_1
95330
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95332
+  (0.0ms) SAVEPOINT active_record_1
95333
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95335
+  (0.0ms) SAVEPOINT active_record_1
95336
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95338
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95339
+  (0.0ms) SAVEPOINT active_record_1
95340
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95341
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95343
+  (0.6ms) rollback transaction
95344
+  (0.1ms) begin transaction
95345
+ ---------------------------------------------
95346
+ Bizarroids::SettingsTest: test_respond_to_#[]
95347
+ ---------------------------------------------
95348
+  (0.0ms) rollback transaction
95349
+  (0.0ms) begin transaction
95350
+ ----------------------------------------------
95351
+ Bizarroids::SettingsTest: test_respond_to_#[]=
95352
+ ----------------------------------------------
95353
+  (0.0ms) rollback transaction
95354
+  (0.1ms) begin transaction
95355
+ ----------------------------------------------
95356
+ Bizarroids::SettingsTest: test_respond_to_#get
95357
+ ----------------------------------------------
95358
+  (0.0ms) rollback transaction
95359
+  (0.0ms) begin transaction
95360
+ ----------------------------------------------
95361
+ Bizarroids::SettingsTest: test_respond_to_#set
95362
+ ----------------------------------------------
95363
+  (0.0ms) rollback transaction
95364
+  (0.0ms) begin transaction
95365
+ -------------------------------------------------------------
95366
+ Bizarroids::SettingsTest: test_set_:key,_value_updates_option
95367
+ -------------------------------------------------------------
95368
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95369
+  (0.0ms) SAVEPOINT active_record_1
95370
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95372
+  (0.0ms) SAVEPOINT active_record_1
95373
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95375
+  (0.1ms) SAVEPOINT active_record_1
95376
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95378
+  (0.0ms) SAVEPOINT active_record_1
95379
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95381
+  (0.0ms) SAVEPOINT active_record_1
95382
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95384
+  (0.0ms) SAVEPOINT active_record_1
95385
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95387
+  (0.0ms) SAVEPOINT active_record_1
95388
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95390
+  (0.0ms) SAVEPOINT active_record_1
95391
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95393
+  (0.0ms) SAVEPOINT active_record_1
95394
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95396
+  (0.0ms) SAVEPOINT active_record_1
95397
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95399
+  (0.0ms) SAVEPOINT active_record_1
95400
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95402
+  (0.0ms) SAVEPOINT active_record_1
95403
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95405
+  (0.0ms) SAVEPOINT active_record_1
95406
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95408
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95410
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95411
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95413
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95414
+  (0.0ms) SAVEPOINT active_record_1
95415
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 14) LIMIT 1
95416
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95418
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.5ms) rollback transaction
95420
+  (0.1ms) begin transaction
95421
+ ----------------------------------------------------------------------------------------------
95422
+ Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_not_configured_key
95423
+ ----------------------------------------------------------------------------------------------
95424
+  (0.0ms) SAVEPOINT active_record_1
95425
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1
95426
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95428
+  (0.5ms) rollback transaction
95429
+  (0.1ms) begin transaction
95430
+ ---------------------------------------------------------------------------------------
95431
+ Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_unknown_key
95432
+ ---------------------------------------------------------------------------------------
95433
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95434
+  (0.0ms) SAVEPOINT active_record_1
95435
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95437
+  (0.0ms) SAVEPOINT active_record_1
95438
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95440
+  (0.0ms) SAVEPOINT active_record_1
95441
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95442
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95443
+  (0.0ms) SAVEPOINT active_record_1
95444
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95446
+  (0.0ms) SAVEPOINT active_record_1
95447
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95449
+  (0.1ms) SAVEPOINT active_record_1
95450
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95452
+  (0.0ms) SAVEPOINT active_record_1
95453
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95455
+  (0.0ms) SAVEPOINT active_record_1
95456
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95458
+  (0.0ms) SAVEPOINT active_record_1
95459
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95461
+  (0.0ms) SAVEPOINT active_record_1
95462
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95464
+  (0.0ms) SAVEPOINT active_record_1
95465
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95467
+  (0.0ms) SAVEPOINT active_record_1
95468
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95470
+  (0.0ms) SAVEPOINT active_record_1
95471
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95473
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95474
+  (0.0ms) SAVEPOINT active_record_1
95475
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95476
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95478
+  (0.5ms) rollback transaction
95479
+  (0.1ms) begin transaction
95480
+ ------------------------------------------------------
95481
+ Bizarroids::SettingsTest: test_setup_block_yields_self
95482
+ ------------------------------------------------------
95483
+  (0.0ms) rollback transaction
95484
+  (0.0ms) begin transaction
95485
+ --------------------------------------------------------------------------------------------------
95486
+ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_input_options_should_return_hash
95487
+ --------------------------------------------------------------------------------------------------
95488
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95489
+  (0.0ms) SAVEPOINT active_record_1
95490
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95492
+  (0.0ms) SAVEPOINT active_record_1
95493
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95495
+  (0.0ms) SAVEPOINT active_record_1
95496
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95498
+  (0.0ms) SAVEPOINT active_record_1
95499
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95501
+  (0.0ms) SAVEPOINT active_record_1
95502
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95504
+  (0.0ms) SAVEPOINT active_record_1
95505
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95507
+  (0.0ms) SAVEPOINT active_record_1
95508
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95510
+  (0.0ms) SAVEPOINT active_record_1
95511
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95513
+  (0.0ms) SAVEPOINT active_record_1
95514
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95516
+  (0.0ms) SAVEPOINT active_record_1
95517
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95519
+  (0.0ms) SAVEPOINT active_record_1
95520
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95522
+  (0.0ms) SAVEPOINT active_record_1
95523
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95525
+  (0.0ms) SAVEPOINT active_record_1
95526
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95528
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95530
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95531
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95533
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95534
+  (0.6ms) rollback transaction
95535
+  (0.0ms) begin transaction
95536
+ -------------------------------------------------------------------------------------------------------
95537
+ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collection_should_return_array
95538
+ -------------------------------------------------------------------------------------------------------
95539
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95540
+  (0.0ms) SAVEPOINT active_record_1
95541
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95543
+  (0.0ms) SAVEPOINT active_record_1
95544
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95546
+  (0.0ms) SAVEPOINT active_record_1
95547
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95549
+  (0.0ms) SAVEPOINT active_record_1
95550
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95552
+  (0.0ms) SAVEPOINT active_record_1
95553
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95555
+  (0.0ms) SAVEPOINT active_record_1
95556
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95558
+  (0.0ms) SAVEPOINT active_record_1
95559
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95561
+  (0.0ms) SAVEPOINT active_record_1
95562
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95564
+  (0.0ms) SAVEPOINT active_record_1
95565
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95567
+  (0.0ms) SAVEPOINT active_record_1
95568
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95570
+  (0.0ms) SAVEPOINT active_record_1
95571
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95573
+  (0.0ms) SAVEPOINT active_record_1
95574
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95576
+  (0.0ms) SAVEPOINT active_record_1
95577
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95579
+ Bizarroids::Settings::Option Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
95581
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection_option' LIMIT 1
95582
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95584
+  (0.6ms) rollback transaction
95585
+  (0.0ms) begin transaction
95586
+ -----------------------------------------------------------
95587
+ Bizarroids::Settings::OptionsControllerTest: test_the_truth
94684
95588
  -----------------------------------------------------------
94685
95589
   (0.1ms) rollback transaction
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.2
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/20140802143121_create_bizarroids_settings_options.rb
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/20140802143121_create_bizarroids_settings_options.rb
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