redis_dictionary 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +37 -0
  3. data/Rakefile +41 -0
  4. data/app/assets/javascripts/redis_dictionary/application.js +16 -0
  5. data/app/assets/javascripts/redis_dictionary/bootstrap.js +10 -0
  6. data/app/assets/javascripts/redis_dictionary/jquery.autosize.js +192 -0
  7. data/app/assets/javascripts/redis_dictionary/translations.js +35 -0
  8. data/app/assets/stylesheets/redis_dictionary/application.css +13 -0
  9. data/app/assets/stylesheets/redis_dictionary/bootstrap_and_overrides.css +7 -0
  10. data/app/assets/stylesheets/redis_dictionary/translations.css +42 -0
  11. data/app/controllers/redis_dictionary/application_controller.rb +25 -0
  12. data/app/controllers/redis_dictionary/translations_controller.rb +51 -0
  13. data/app/helpers/redis_dictionary/application_helper.rb +39 -0
  14. data/app/models/redis_dictionary/translation.rb +64 -0
  15. data/app/views/layouts/redis_dictionary/application.html.erb +43 -0
  16. data/app/views/redis_dictionary/translations/_key_translation.html.erb +22 -0
  17. data/app/views/redis_dictionary/translations/create.js.erb +14 -0
  18. data/app/views/redis_dictionary/translations/destroy.js.erb +2 -0
  19. data/app/views/redis_dictionary/translations/index.html.erb +69 -0
  20. data/config/environment.rb +1 -0
  21. data/config/initializers/will_paginate.rb +1 -0
  22. data/config/routes.rb +14 -0
  23. data/lib/redis_dictionary.rb +25 -0
  24. data/lib/redis_dictionary/configuration.rb +21 -0
  25. data/lib/redis_dictionary/engine.rb +53 -0
  26. data/lib/redis_dictionary/version.rb +3 -0
  27. data/test/dummy/README.rdoc +261 -0
  28. data/test/dummy/Rakefile +7 -0
  29. data/test/dummy/app/assets/images/favicon.ico +0 -0
  30. data/test/dummy/app/assets/javascripts/application.js +15 -0
  31. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  32. data/test/dummy/app/controllers/application_controller.rb +4 -0
  33. data/test/dummy/app/helpers/application_helper.rb +3 -0
  34. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  35. data/test/dummy/config.ru +4 -0
  36. data/test/dummy/config/application.rb +59 -0
  37. data/test/dummy/config/boot.rb +10 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +6 -0
  40. data/test/dummy/config/environments/development.rb +33 -0
  41. data/test/dummy/config/environments/production.rb +70 -0
  42. data/test/dummy/config/environments/test.rb +37 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +8 -0
  44. data/test/dummy/config/initializers/inflections.rb +16 -0
  45. data/test/dummy/config/initializers/mime_types.rb +6 -0
  46. data/test/dummy/config/initializers/secret_token.rb +9 -0
  47. data/test/dummy/config/initializers/session_store.rb +9 -0
  48. data/test/dummy/config/initializers/wrap_parameters.rb +15 -0
  49. data/test/dummy/config/locales/en.yml +5 -0
  50. data/test/dummy/config/routes.rb +4 -0
  51. data/test/dummy/db/schema.rb +16 -0
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/test.log +1003 -0
  54. data/test/dummy/public/404.html +26 -0
  55. data/test/dummy/public/422.html +26 -0
  56. data/test/dummy/public/500.html +25 -0
  57. data/test/dummy/public/favicon.ico +0 -0
  58. data/test/dummy/script/rails +7 -0
  59. data/test/functional/redis_dictionary/translations_controller_test.rb +37 -0
  60. data/test/integration/redis_dictionary/translations_test.rb +113 -0
  61. data/test/redis_dictionary/configuration_test.rb +24 -0
  62. data/test/redis_dictionary_test.rb +22 -0
  63. data/test/test_helper.rb +43 -0
  64. data/test/unit/helpers/redis_dictionary/application_helper_test.rb +61 -0
  65. data/test/unit/redis_dictionary/translation_test.rb +89 -0
  66. metadata +360 -0
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
3
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
+
5
+ require File.expand_path('../config/application', __FILE__)
6
+
7
+ Dummy::Application.load_tasks
@@ -0,0 +1,15 @@
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
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree .
@@ -0,0 +1,13 @@
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 top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,4 @@
1
+ # encoding: utf-8
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery
4
+ end
@@ -0,0 +1,3 @@
1
+ # encoding: utf-8
2
+ module ApplicationHelper
3
+ end
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag "application", :media => "all" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,59 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ Bundler.require(*Rails.groups)
6
+ require "redis_dictionary"
7
+
8
+ module Dummy
9
+ class Application < Rails::Application
10
+ # Settings in config/environments/* take precedence over those specified here.
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Custom directories with classes and modules you want to be autoloadable.
15
+ # config.autoload_paths += %W(#{config.root}/extras)
16
+
17
+ # Only load the plugins named here, in the order given (default is alphabetical).
18
+ # :all can be used as a placeholder for all plugins not explicitly named.
19
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
+
21
+ # Activate observers that should always be running.
22
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
+
24
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
+ # config.time_zone = 'Central Time (US & Canada)'
27
+
28
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
+ # config.i18n.default_locale = :de
31
+
32
+ # Configure the default encoding used in templates for Ruby 1.9.
33
+ config.encoding = "utf-8"
34
+
35
+ # Configure sensitive parameters which will be filtered from the log file.
36
+ config.filter_parameters += [:password]
37
+ config.i18n.available_locales = [:es, :en, :de]
38
+
39
+ # Enable escaping HTML in JSON.
40
+ config.active_support.escape_html_entities_in_json = true
41
+
42
+ # Use SQL instead of Active Record's schema dumper when creating the database.
43
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
44
+ # like if you have constraints or database-specific column types
45
+ # config.active_record.schema_format = :sql
46
+
47
+ # Enforce whitelist mode for mass assignment.
48
+ # This will create an empty whitelist of attributes available for mass-assignment for all models
49
+ # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
50
+ # parameters by using an attr_accessible or attr_protected declaration.
51
+
52
+ # Enable the asset pipeline
53
+ config.assets.enabled = true
54
+
55
+ # Version of your assets, change this if you want to expire all your assets
56
+ config.assets.version = '1.0'
57
+ end
58
+ end
59
+
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ development:
7
+ adapter: sqlite3
8
+ database: db/development.sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ # Warning: The database defined as "test" will be erased and
13
+ # re-generated from your development database when you run "rake".
14
+ # Do not set this db to the same as development or production.
15
+ test:
16
+ adapter: sqlite3
17
+ database: db/test.sqlite3
18
+ pool: 5
19
+ timeout: 5000
20
+
21
+ production:
22
+ adapter: sqlite3
23
+ database: db/production.sqlite3
24
+ pool: 5
25
+ timeout: 5000
@@ -0,0 +1,6 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
6
+ RedisDictionary::Engine.load!
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ Dummy::Application.configure do
3
+ # Settings specified here will take precedence over those in config/application.rb
4
+
5
+ # In the development environment your application's code is reloaded on
6
+ # every request. This slows down response time but is perfect for development
7
+ # since you don't have to restart the web server when you make code changes.
8
+ config.cache_classes = false
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ # config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Don't care if the mailer can't send
18
+ config.action_mailer.raise_delivery_errors = false
19
+
20
+ # Print deprecation notices to the Rails logger
21
+ config.active_support.deprecation = :log
22
+
23
+ # Only use best-standards-support built into browsers
24
+ config.action_dispatch.best_standards_support = :builtin
25
+
26
+ # Do not compress assets
27
+ config.assets.compress = false
28
+
29
+ # Expands the lines which load the assets
30
+ config.assets.debug = true
31
+
32
+ config.eager_load = false
33
+ end
@@ -0,0 +1,70 @@
1
+ # encoding: utf-8
2
+ Dummy::Application.configure do
3
+ # Settings specified here will take precedence over those in config/application.rb
4
+
5
+ # Code is not reloaded between requests
6
+ config.cache_classes = true
7
+
8
+ # Full error reports are disabled and caching is turned on
9
+ config.consider_all_requests_local = false
10
+ config.action_controller.perform_caching = true
11
+
12
+ # Disable Rails's static asset server (Apache or nginx will already do this)
13
+ config.serve_static_assets = false
14
+
15
+ # Compress JavaScripts and CSS
16
+ config.assets.compress = true
17
+
18
+ # Don't fallback to assets pipeline if a precompiled asset is missed
19
+ config.assets.compile = false
20
+
21
+ # Generate digests for assets URLs
22
+ config.assets.digest = true
23
+
24
+ # Defaults to nil and saved in location specified by config.assets.prefix
25
+ # config.assets.manifest = YOUR_PATH
26
+
27
+ # Specifies the header that your server uses for sending files
28
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
29
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
30
+
31
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
32
+ # config.force_ssl = true
33
+
34
+ # See everything in the log (default is :info)
35
+ # config.log_level = :debug
36
+
37
+ # Prepend all log lines with the following tags
38
+ # config.log_tags = [ :subdomain, :uuid ]
39
+
40
+ # Use a different logger for distributed setups
41
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
42
+
43
+ # Use a different cache store in production
44
+ # config.cache_store = :mem_cache_store
45
+
46
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
47
+ # config.action_controller.asset_host = "http://assets.example.com"
48
+
49
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
50
+ # config.assets.precompile += %w( search.js )
51
+
52
+ # Disable delivery errors, bad email addresses will be ignored
53
+ # config.action_mailer.raise_delivery_errors = false
54
+
55
+ # Enable threaded mode
56
+ # config.threadsafe!
57
+
58
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
59
+ # the I18n.default_locale when a translation can not be found)
60
+ config.i18n.fallbacks = true
61
+
62
+ # Send deprecation notices to registered listeners
63
+ config.active_support.deprecation = :notify
64
+
65
+ # Log the query plan for queries taking more than this (works
66
+ # with SQLite, MySQL, and PostgreSQL)
67
+ # config.active_record.auto_explain_threshold_in_seconds = 0.5
68
+
69
+ config.eager_load = true
70
+ end
@@ -0,0 +1,37 @@
1
+ # encoding: utf-8
2
+ Dummy::Application.configure do
3
+ # Settings specified here will take precedence over those in config/application.rb
4
+
5
+ # The test environment is used exclusively to run your application's
6
+ # test suite. You never need to work with it otherwise. Remember that
7
+ # your test database is "scratch space" for the test suite and is wiped
8
+ # and recreated between test runs. Don't rely on the data there!
9
+ config.cache_classes = true
10
+
11
+ # Configure static asset server for tests with Cache-Control for performance
12
+ config.serve_static_assets = true
13
+ config.static_cache_control = "public, max-age=3600"
14
+
15
+ # Log error messages when you accidentally call methods on nil
16
+ # config.whiny_nils = true
17
+
18
+ # Show full error reports and disable caching
19
+ config.consider_all_requests_local = true
20
+ config.action_controller.perform_caching = false
21
+
22
+ # Raise exceptions instead of rendering exception templates
23
+ config.action_dispatch.show_exceptions = false
24
+
25
+ # Disable request forgery protection in test environment
26
+ config.action_controller.allow_forgery_protection = false
27
+
28
+ # Tell Action Mailer not to deliver emails to the real world.
29
+ # The :test delivery method accumulates sent emails in the
30
+ # ActionMailer::Base.deliveries array.
31
+ config.action_mailer.delivery_method = :test
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+
36
+ config.eager_load = false
37
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
5
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
6
+
7
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
8
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Add new inflection rules using the following format
5
+ # (all these examples are active by default):
6
+ # ActiveSupport::Inflector.inflections do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+ #
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,6 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Add new mime types for use in respond_to blocks:
5
+ # Mime::Type.register "text/richtext", :rtf
6
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Your secret key for verifying the integrity of signed cookies.
5
+ # If you change this key, all old signed cookies will become invalid!
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ Dummy::Application.config.secret_token = 'aebc8457d1669ea764223297fcf3202ea74faf4401925bb407c062a2281f2923419fcb90d0b3453398f7583a73764ebcc4e0d1596de957482591cbe58974491c'
9
+ Dummy::Application.config.secret_key_base = 'aebc8457d1669ea764223297fcf3202ea74faf4401925bb407c062a2281f2923419fcb90d0b3453398f7583a73764ebcc4e0d1596de957482591cbe58974491c'
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
5
+
6
+ # Use the database for sessions instead of the cookie-based default,
7
+ # which shouldn't be used to store highly confidential information
8
+ # (create the session table with "rails generate session_migration")
9
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+ #
4
+ # This file contains settings for ActionController::ParamsWrapper which
5
+ # is enabled by default.
6
+
7
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
8
+ ActiveSupport.on_load(:action_controller) do
9
+ wrap_parameters format: [:json]
10
+ end
11
+
12
+ # Disable root element in JSON by default.
13
+ ActiveSupport.on_load(:active_record) do
14
+ self.include_root_in_json = false
15
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount RedisDictionary::Engine => "/"
4
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 0) do
15
+
16
+ end
File without changes
@@ -0,0 +1,1003 @@
1
+  (0.4ms) begin transaction
2
+ -----------------------------------------------------------------------------------
3
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
4
+ -----------------------------------------------------------------------------------
5
+  (0.1ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ----------------------------------------------------------------------------------------------------
8
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
9
+ ----------------------------------------------------------------------------------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ ---------------------------------------------------------------------------------------------------------
13
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
14
+ ---------------------------------------------------------------------------------------------------------
15
+  (0.1ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ -----------------------------------------------------------------------
18
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
19
+ -----------------------------------------------------------------------
20
+  (0.1ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+ -------------------------------------------------------------------------------
23
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
24
+ -------------------------------------------------------------------------------
25
+  (0.2ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ ----------------------------------------------------------------------------------------
28
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
29
+ ----------------------------------------------------------------------------------------
30
+  (0.1ms) rollback transaction
31
+  (0.1ms) begin transaction
32
+ ----------------------------------------------------------------
33
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
34
+ ----------------------------------------------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ -----------------------------------------------------------------------
38
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
39
+ -----------------------------------------------------------------------
40
+  (0.1ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+ -------------------------------------------------------------------------
43
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
44
+ -------------------------------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ ----------------------------------------------------------------------------
48
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
49
+ ----------------------------------------------------------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ -----------------------------------------------------------------------------
53
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
54
+ -----------------------------------------------------------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ ---------------------------------------------------------------
58
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
59
+ ---------------------------------------------------------------
60
+  (0.3ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ -------------------------------------------------------------------
63
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
64
+ -------------------------------------------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ --------------------------------------------------------------------
68
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
69
+ --------------------------------------------------------------------
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+ ------------------------------------------------------------------
73
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
74
+ ------------------------------------------------------------------
75
+  (0.1ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ -------------------------------------------------------------
78
+ I18nDashboard::TranslationTest: test_should_return_match_keys
79
+ -------------------------------------------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ -----------------------------------------------------------------------
83
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
84
+ -----------------------------------------------------------------------
85
+  (0.1ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ ------------------------------------------------------------------------------
88
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
89
+ ------------------------------------------------------------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+ ---------------------------------------------------------------------------------------
93
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
94
+ ---------------------------------------------------------------------------------------
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ -----------------------------------------------------------------------------
98
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
99
+ -----------------------------------------------------------------------------
100
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
101
+ Redirected to http://test.host/
102
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
103
+  (0.1ms) rollback transaction
104
+  (0.1ms) begin transaction
105
+ ---------------------------------------------------------------------------
106
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
107
+ ---------------------------------------------------------------------------
108
+ Processing by I18nDashboard::TranslationsController#destroy as JS
109
+ Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.0ms)
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ --------------------------------------------------------------------------
113
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
114
+ --------------------------------------------------------------------------
115
+ Processing by I18nDashboard::TranslationsController#create as HTML
116
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
117
+ Redirected to http://test.host/
118
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
119
+  (0.1ms) rollback transaction
120
+  (0.1ms) begin transaction
121
+ ------------------------------------------------------------------------
122
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
123
+ ------------------------------------------------------------------------
124
+ Processing by I18nDashboard::TranslationsController#create as JS
125
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
126
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (10.2ms)
127
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (2.6ms)
128
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
129
+  (0.1ms) rollback transaction
130
+  (0.1ms) begin transaction
131
+ ----------------------------------------------------------------------------------
132
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
133
+ ----------------------------------------------------------------------------------
134
+  (0.1ms) rollback transaction
135
+  (0.1ms) begin transaction
136
+ ----------------------------------------
137
+ TranslationsTest: test_load_translations
138
+ ----------------------------------------
139
+  (0.1ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+ ----------------------------------
142
+ TranslationsTest: test_search_keys
143
+ ----------------------------------
144
+  (0.1ms) rollback transaction
145
+  (0.3ms) begin transaction
146
+ -----------------------------------------------------------------------------------
147
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
148
+ -----------------------------------------------------------------------------------
149
+  (0.1ms) rollback transaction
150
+  (0.1ms) begin transaction
151
+ ----------------------------------------------------------------------------------------------------
152
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
153
+ ----------------------------------------------------------------------------------------------------
154
+  (0.1ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+ ---------------------------------------------------------------------------------------------------------
157
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
158
+ ---------------------------------------------------------------------------------------------------------
159
+  (0.1ms) rollback transaction
160
+  (0.1ms) begin transaction
161
+ -----------------------------------------------------------------------
162
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
163
+ -----------------------------------------------------------------------
164
+  (0.1ms) rollback transaction
165
+  (0.1ms) begin transaction
166
+ -------------------------------------------------------------------------------
167
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
168
+ -------------------------------------------------------------------------------
169
+  (0.1ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+ ----------------------------------------------------------------------------------------
172
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
173
+ ----------------------------------------------------------------------------------------
174
+  (0.1ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+ ----------------------------------------------------------------
177
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
178
+ ----------------------------------------------------------------
179
+  (0.1ms) rollback transaction
180
+  (0.0ms) begin transaction
181
+ -----------------------------------------------------------------------
182
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
183
+ -----------------------------------------------------------------------
184
+  (0.1ms) rollback transaction
185
+  (0.1ms) begin transaction
186
+ -------------------------------------------------------------------------
187
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
188
+ -------------------------------------------------------------------------
189
+  (0.1ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+ ----------------------------------------------------------------------------
192
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
193
+ ----------------------------------------------------------------------------
194
+  (0.1ms) rollback transaction
195
+  (0.1ms) begin transaction
196
+ -----------------------------------------------------------------------------
197
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
198
+ -----------------------------------------------------------------------------
199
+  (0.1ms) rollback transaction
200
+  (0.1ms) begin transaction
201
+ ---------------------------------------------------------------
202
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
203
+ ---------------------------------------------------------------
204
+  (0.1ms) rollback transaction
205
+  (0.1ms) begin transaction
206
+ -------------------------------------------------------------------
207
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
208
+ -------------------------------------------------------------------
209
+  (0.1ms) rollback transaction
210
+  (0.1ms) begin transaction
211
+ --------------------------------------------------------------------
212
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
213
+ --------------------------------------------------------------------
214
+  (0.1ms) rollback transaction
215
+  (0.1ms) begin transaction
216
+ ------------------------------------------------------------------
217
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
218
+ ------------------------------------------------------------------
219
+  (0.1ms) rollback transaction
220
+  (0.1ms) begin transaction
221
+ -------------------------------------------------------------
222
+ I18nDashboard::TranslationTest: test_should_return_match_keys
223
+ -------------------------------------------------------------
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+ -----------------------------------------------------------------------
227
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
228
+ -----------------------------------------------------------------------
229
+  (0.1ms) rollback transaction
230
+  (0.1ms) begin transaction
231
+ ------------------------------------------------------------------------------
232
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
233
+ ------------------------------------------------------------------------------
234
+  (0.1ms) rollback transaction
235
+  (0.1ms) begin transaction
236
+ ---------------------------------------------------------------------------------------
237
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
238
+ ---------------------------------------------------------------------------------------
239
+  (0.1ms) rollback transaction
240
+  (0.1ms) begin transaction
241
+ -----------------------------------------------------------------------------
242
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
243
+ -----------------------------------------------------------------------------
244
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
245
+ Redirected to http://test.host/
246
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
247
+  (0.1ms) rollback transaction
248
+  (0.1ms) begin transaction
249
+ ---------------------------------------------------------------------------
250
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
251
+ ---------------------------------------------------------------------------
252
+ Processing by I18nDashboard::TranslationsController#destroy as JS
253
+ Completed 200 OK in 41ms (Views: 40.0ms | ActiveRecord: 0.0ms)
254
+  (0.1ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+ --------------------------------------------------------------------------
257
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
258
+ --------------------------------------------------------------------------
259
+ Processing by I18nDashboard::TranslationsController#create as HTML
260
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
261
+ Redirected to http://test.host/
262
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
263
+  (0.1ms) rollback transaction
264
+  (0.1ms) begin transaction
265
+ ------------------------------------------------------------------------
266
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
267
+ ------------------------------------------------------------------------
268
+ Processing by I18nDashboard::TranslationsController#create as JS
269
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
270
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (9.9ms)
271
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (2.9ms)
272
+ Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms)
273
+  (0.1ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+ ----------------------------------------------------------------------------------
276
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
277
+ ----------------------------------------------------------------------------------
278
+  (0.1ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+ -------------------------------------------
281
+ TranslationsTest: test_create_a_translation
282
+ -------------------------------------------
283
+  (0.1ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+ ----------------------------------------
286
+ TranslationsTest: test_load_translations
287
+ ----------------------------------------
288
+  (0.1ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+ ----------------------------------
291
+ TranslationsTest: test_search_keys
292
+ ----------------------------------
293
+  (0.1ms) rollback transaction
294
+  (0.4ms) begin transaction
295
+ -----------------------------------------------------------------------------------
296
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
297
+ -----------------------------------------------------------------------------------
298
+  (0.1ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ ----------------------------------------------------------------------------------------------------
301
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
302
+ ----------------------------------------------------------------------------------------------------
303
+  (0.1ms) rollback transaction
304
+  (0.1ms) begin transaction
305
+ ---------------------------------------------------------------------------------------------------------
306
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
307
+ ---------------------------------------------------------------------------------------------------------
308
+  (0.1ms) rollback transaction
309
+  (0.1ms) begin transaction
310
+ -----------------------------------------------------------------------
311
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
312
+ -----------------------------------------------------------------------
313
+  (0.1ms) rollback transaction
314
+  (0.1ms) begin transaction
315
+ -------------------------------------------------------------------------------
316
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
317
+ -------------------------------------------------------------------------------
318
+  (0.1ms) rollback transaction
319
+  (0.1ms) begin transaction
320
+ ----------------------------------------------------------------------------------------
321
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
322
+ ----------------------------------------------------------------------------------------
323
+  (0.1ms) rollback transaction
324
+  (0.1ms) begin transaction
325
+ ----------------------------------------------------------------
326
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
327
+ ----------------------------------------------------------------
328
+  (0.1ms) rollback transaction
329
+  (0.1ms) begin transaction
330
+ -----------------------------------------------------------------------
331
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
332
+ -----------------------------------------------------------------------
333
+  (0.1ms) rollback transaction
334
+  (0.1ms) begin transaction
335
+ -------------------------------------------------------------------------
336
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
337
+ -------------------------------------------------------------------------
338
+  (0.1ms) rollback transaction
339
+  (0.1ms) begin transaction
340
+ ----------------------------------------------------------------------------
341
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
342
+ ----------------------------------------------------------------------------
343
+  (0.1ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+ -----------------------------------------------------------------------------
346
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
347
+ -----------------------------------------------------------------------------
348
+  (0.1ms) rollback transaction
349
+  (0.1ms) begin transaction
350
+ ---------------------------------------------------------------
351
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
352
+ ---------------------------------------------------------------
353
+  (0.1ms) rollback transaction
354
+  (0.2ms) begin transaction
355
+ -------------------------------------------------------------------
356
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
357
+ -------------------------------------------------------------------
358
+  (0.1ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+ --------------------------------------------------------------------
361
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
362
+ --------------------------------------------------------------------
363
+  (0.1ms) rollback transaction
364
+  (0.1ms) begin transaction
365
+ ------------------------------------------------------------------
366
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
367
+ ------------------------------------------------------------------
368
+  (0.1ms) rollback transaction
369
+  (0.1ms) begin transaction
370
+ -------------------------------------------------------------
371
+ I18nDashboard::TranslationTest: test_should_return_match_keys
372
+ -------------------------------------------------------------
373
+  (0.1ms) rollback transaction
374
+  (0.1ms) begin transaction
375
+ -----------------------------------------------------------------------
376
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
377
+ -----------------------------------------------------------------------
378
+  (0.1ms) rollback transaction
379
+  (0.1ms) begin transaction
380
+ ------------------------------------------------------------------------------
381
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
382
+ ------------------------------------------------------------------------------
383
+  (0.1ms) rollback transaction
384
+  (0.1ms) begin transaction
385
+ ---------------------------------------------------------------------------------------
386
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
387
+ ---------------------------------------------------------------------------------------
388
+  (0.1ms) rollback transaction
389
+  (0.1ms) begin transaction
390
+ -----------------------------------------------------------------------------
391
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
392
+ -----------------------------------------------------------------------------
393
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
394
+ Redirected to http://test.host/
395
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
396
+  (0.1ms) rollback transaction
397
+  (0.1ms) begin transaction
398
+ ---------------------------------------------------------------------------
399
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
400
+ ---------------------------------------------------------------------------
401
+ Processing by I18nDashboard::TranslationsController#destroy as JS
402
+ Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms)
403
+  (0.1ms) rollback transaction
404
+  (0.1ms) begin transaction
405
+ --------------------------------------------------------------------------
406
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
407
+ --------------------------------------------------------------------------
408
+ Processing by I18nDashboard::TranslationsController#create as HTML
409
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
410
+ Redirected to http://test.host/
411
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
412
+  (0.1ms) rollback transaction
413
+  (0.1ms) begin transaction
414
+ ------------------------------------------------------------------------
415
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
416
+ ------------------------------------------------------------------------
417
+ Processing by I18nDashboard::TranslationsController#create as JS
418
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
419
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (8.8ms)
420
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (3.9ms)
421
+ Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms)
422
+  (0.1ms) rollback transaction
423
+  (0.1ms) begin transaction
424
+ ----------------------------------------------------------------------------------
425
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
426
+ ----------------------------------------------------------------------------------
427
+  (0.1ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+ -------------------------------------------
430
+ TranslationsTest: test_create_a_translation
431
+ -------------------------------------------
432
+ Started GET "/" for 127.0.0.1 at 2013-09-27 08:17:29 +0200
433
+ Processing by I18nDashboard::TranslationsController#index as HTML
434
+ Completed 500 Internal Server Error in 42ms
435
+  (0.1ms) rollback transaction
436
+  (0.3ms) begin transaction
437
+ ----------------------------------------
438
+ TranslationsTest: test_load_translations
439
+ ----------------------------------------
440
+ Started GET "/" for 127.0.0.1 at 2013-09-27 08:17:32 +0200
441
+ Processing by I18nDashboard::TranslationsController#index as HTML
442
+ Completed 500 Internal Server Error in 12ms
443
+  (0.1ms) rollback transaction
444
+  (0.1ms) begin transaction
445
+ ----------------------------------
446
+ TranslationsTest: test_search_keys
447
+ ----------------------------------
448
+ Started GET "/" for 127.0.0.1 at 2013-09-27 08:17:34 +0200
449
+ Processing by I18nDashboard::TranslationsController#index as HTML
450
+ Completed 500 Internal Server Error in 13ms
451
+  (0.1ms) rollback transaction
452
+  (0.3ms) begin transaction
453
+ -----------------------------------------------------------------------------------
454
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
455
+ -----------------------------------------------------------------------------------
456
+  (0.1ms) rollback transaction
457
+  (0.1ms) begin transaction
458
+ ----------------------------------------------------------------------------------------------------
459
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
460
+ ----------------------------------------------------------------------------------------------------
461
+  (0.1ms) rollback transaction
462
+  (0.1ms) begin transaction
463
+ ---------------------------------------------------------------------------------------------------------
464
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
465
+ ---------------------------------------------------------------------------------------------------------
466
+  (0.1ms) rollback transaction
467
+  (0.1ms) begin transaction
468
+ -----------------------------------------------------------------------
469
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
470
+ -----------------------------------------------------------------------
471
+  (0.1ms) rollback transaction
472
+  (0.0ms) begin transaction
473
+ -------------------------------------------------------------------------------
474
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
475
+ -------------------------------------------------------------------------------
476
+  (0.1ms) rollback transaction
477
+  (0.1ms) begin transaction
478
+ ----------------------------------------------------------------------------------------
479
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
480
+ ----------------------------------------------------------------------------------------
481
+  (0.0ms) rollback transaction
482
+  (0.1ms) begin transaction
483
+ ----------------------------------------------------------------
484
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
485
+ ----------------------------------------------------------------
486
+  (0.0ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+ -----------------------------------------------------------------------
489
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
490
+ -----------------------------------------------------------------------
491
+  (0.1ms) rollback transaction
492
+  (0.1ms) begin transaction
493
+ -------------------------------------------------------------------------
494
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
495
+ -------------------------------------------------------------------------
496
+  (0.1ms) rollback transaction
497
+  (0.1ms) begin transaction
498
+ ----------------------------------------------------------------------------
499
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
500
+ ----------------------------------------------------------------------------
501
+  (0.1ms) rollback transaction
502
+  (0.1ms) begin transaction
503
+ -----------------------------------------------------------------------------
504
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
505
+ -----------------------------------------------------------------------------
506
+  (0.1ms) rollback transaction
507
+  (0.1ms) begin transaction
508
+ ---------------------------------------------------------------
509
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
510
+ ---------------------------------------------------------------
511
+  (0.1ms) rollback transaction
512
+  (0.1ms) begin transaction
513
+ -------------------------------------------------------------------
514
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
515
+ -------------------------------------------------------------------
516
+  (0.1ms) rollback transaction
517
+  (0.1ms) begin transaction
518
+ --------------------------------------------------------------------
519
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
520
+ --------------------------------------------------------------------
521
+  (0.1ms) rollback transaction
522
+  (0.1ms) begin transaction
523
+ ------------------------------------------------------------------
524
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
525
+ ------------------------------------------------------------------
526
+  (0.1ms) rollback transaction
527
+  (0.1ms) begin transaction
528
+ -------------------------------------------------------------
529
+ I18nDashboard::TranslationTest: test_should_return_match_keys
530
+ -------------------------------------------------------------
531
+  (0.1ms) rollback transaction
532
+  (0.1ms) begin transaction
533
+ -----------------------------------------------------------------------
534
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
535
+ -----------------------------------------------------------------------
536
+  (0.1ms) rollback transaction
537
+  (0.1ms) begin transaction
538
+ ------------------------------------------------------------------------------
539
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
540
+ ------------------------------------------------------------------------------
541
+  (0.1ms) rollback transaction
542
+  (0.1ms) begin transaction
543
+ ---------------------------------------------------------------------------------------
544
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
545
+ ---------------------------------------------------------------------------------------
546
+  (0.1ms) rollback transaction
547
+  (0.1ms) begin transaction
548
+ -----------------------------------------------------------------------------
549
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
550
+ -----------------------------------------------------------------------------
551
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
552
+ Redirected to http://test.host/
553
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
554
+  (0.1ms) rollback transaction
555
+  (0.1ms) begin transaction
556
+ ---------------------------------------------------------------------------
557
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
558
+ ---------------------------------------------------------------------------
559
+ Processing by I18nDashboard::TranslationsController#destroy as JS
560
+ Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)
561
+  (0.1ms) rollback transaction
562
+  (0.1ms) begin transaction
563
+ --------------------------------------------------------------------------
564
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
565
+ --------------------------------------------------------------------------
566
+ Processing by I18nDashboard::TranslationsController#create as HTML
567
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
568
+ Redirected to http://test.host/
569
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
570
+  (0.1ms) rollback transaction
571
+  (0.1ms) begin transaction
572
+ ------------------------------------------------------------------------
573
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
574
+ ------------------------------------------------------------------------
575
+ Processing by I18nDashboard::TranslationsController#create as JS
576
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
577
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (8.9ms)
578
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (3.1ms)
579
+ Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms)
580
+  (0.1ms) rollback transaction
581
+  (0.1ms) begin transaction
582
+ ----------------------------------------------------------------------------------
583
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
584
+ ----------------------------------------------------------------------------------
585
+  (0.1ms) rollback transaction
586
+  (0.1ms) begin transaction
587
+ ----------------------------------
588
+ TranslationsTest: test_search_keys
589
+ ----------------------------------
590
+ Started GET "/" for 127.0.0.1 at 2013-09-27 08:19:12 +0200
591
+ Processing by I18nDashboard::TranslationsController#index as HTML
592
+ Completed 500 Internal Server Error in 21ms
593
+  (0.2ms) rollback transaction
594
+  (0.4ms) begin transaction
595
+ -----------------------------------------------------------------------------------
596
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
597
+ -----------------------------------------------------------------------------------
598
+  (0.1ms) rollback transaction
599
+  (0.1ms) begin transaction
600
+ ----------------------------------------------------------------------------------------------------
601
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
602
+ ----------------------------------------------------------------------------------------------------
603
+  (0.1ms) rollback transaction
604
+  (0.1ms) begin transaction
605
+ ---------------------------------------------------------------------------------------------------------
606
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
607
+ ---------------------------------------------------------------------------------------------------------
608
+  (0.1ms) rollback transaction
609
+  (0.1ms) begin transaction
610
+ -----------------------------------------------------------------------
611
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
612
+ -----------------------------------------------------------------------
613
+  (0.1ms) rollback transaction
614
+  (0.1ms) begin transaction
615
+ -------------------------------------------------------------------------------
616
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
617
+ -------------------------------------------------------------------------------
618
+  (0.1ms) rollback transaction
619
+  (0.1ms) begin transaction
620
+ ----------------------------------------------------------------------------------------
621
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
622
+ ----------------------------------------------------------------------------------------
623
+  (0.1ms) rollback transaction
624
+  (0.1ms) begin transaction
625
+ ----------------------------------------------------------------
626
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
627
+ ----------------------------------------------------------------
628
+  (0.1ms) rollback transaction
629
+  (0.1ms) begin transaction
630
+ -----------------------------------------------------------------------
631
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
632
+ -----------------------------------------------------------------------
633
+  (0.1ms) rollback transaction
634
+  (0.1ms) begin transaction
635
+ -------------------------------------------------------------------------
636
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
637
+ -------------------------------------------------------------------------
638
+  (0.2ms) rollback transaction
639
+  (0.1ms) begin transaction
640
+ ----------------------------------------------------------------------------
641
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
642
+ ----------------------------------------------------------------------------
643
+  (0.1ms) rollback transaction
644
+  (0.1ms) begin transaction
645
+ -----------------------------------------------------------------------------
646
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
647
+ -----------------------------------------------------------------------------
648
+  (0.1ms) rollback transaction
649
+  (0.1ms) begin transaction
650
+ ---------------------------------------------------------------
651
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
652
+ ---------------------------------------------------------------
653
+  (0.1ms) rollback transaction
654
+  (0.1ms) begin transaction
655
+ -------------------------------------------------------------------
656
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
657
+ -------------------------------------------------------------------
658
+  (0.1ms) rollback transaction
659
+  (0.1ms) begin transaction
660
+ --------------------------------------------------------------------
661
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
662
+ --------------------------------------------------------------------
663
+  (0.1ms) rollback transaction
664
+  (0.1ms) begin transaction
665
+ ------------------------------------------------------------------
666
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
667
+ ------------------------------------------------------------------
668
+  (0.1ms) rollback transaction
669
+  (0.1ms) begin transaction
670
+ -------------------------------------------------------------
671
+ I18nDashboard::TranslationTest: test_should_return_match_keys
672
+ -------------------------------------------------------------
673
+  (0.1ms) rollback transaction
674
+  (0.1ms) begin transaction
675
+ -----------------------------------------------------------------------
676
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
677
+ -----------------------------------------------------------------------
678
+  (0.1ms) rollback transaction
679
+  (0.1ms) begin transaction
680
+ ------------------------------------------------------------------------------
681
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
682
+ ------------------------------------------------------------------------------
683
+  (0.1ms) rollback transaction
684
+  (0.0ms) begin transaction
685
+ ---------------------------------------------------------------------------------------
686
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
687
+ ---------------------------------------------------------------------------------------
688
+  (0.0ms) rollback transaction
689
+  (0.1ms) begin transaction
690
+ -----------------------------------------------------------------------------
691
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
692
+ -----------------------------------------------------------------------------
693
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
694
+ Redirected to http://test.host/
695
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
696
+  (0.1ms) rollback transaction
697
+  (0.1ms) begin transaction
698
+ ---------------------------------------------------------------------------
699
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
700
+ ---------------------------------------------------------------------------
701
+ Processing by I18nDashboard::TranslationsController#destroy as JS
702
+ Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.0ms)
703
+  (0.1ms) rollback transaction
704
+  (0.1ms) begin transaction
705
+ --------------------------------------------------------------------------
706
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
707
+ --------------------------------------------------------------------------
708
+ Processing by I18nDashboard::TranslationsController#create as HTML
709
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
710
+ Redirected to http://test.host/
711
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
712
+  (0.1ms) rollback transaction
713
+  (0.1ms) begin transaction
714
+ ------------------------------------------------------------------------
715
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
716
+ ------------------------------------------------------------------------
717
+ Processing by I18nDashboard::TranslationsController#create as JS
718
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
719
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (10.6ms)
720
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (3.5ms)
721
+ Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.0ms)
722
+  (0.1ms) rollback transaction
723
+  (0.1ms) begin transaction
724
+ ----------------------------------------------------------------------------------
725
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
726
+ ----------------------------------------------------------------------------------
727
+  (0.1ms) rollback transaction
728
+  (0.1ms) begin transaction
729
+ ----------------------------------
730
+ TranslationsTest: test_search_keys
731
+ ----------------------------------
732
+ Started GET "/" for 127.0.0.1 at 2013-09-27 08:19:54 +0200
733
+ Processing by I18nDashboard::TranslationsController#index as HTML
734
+ Completed 500 Internal Server Error in 24ms
735
+  (0.2ms) rollback transaction
736
+  (0.5ms) begin transaction
737
+ -----------------------------------------------------------------------------------
738
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
739
+ -----------------------------------------------------------------------------------
740
+  (0.1ms) rollback transaction
741
+  (0.1ms) begin transaction
742
+ ----------------------------------------------------------------------------------------------------
743
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
744
+ ----------------------------------------------------------------------------------------------------
745
+  (0.1ms) rollback transaction
746
+  (0.1ms) begin transaction
747
+ ---------------------------------------------------------------------------------------------------------
748
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
749
+ ---------------------------------------------------------------------------------------------------------
750
+  (0.1ms) rollback transaction
751
+  (0.1ms) begin transaction
752
+ -----------------------------------------------------------------------
753
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
754
+ -----------------------------------------------------------------------
755
+  (0.1ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+ -------------------------------------------------------------------------------
758
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
759
+ -------------------------------------------------------------------------------
760
+  (0.1ms) rollback transaction
761
+  (0.1ms) begin transaction
762
+ ----------------------------------------------------------------------------------------
763
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
764
+ ----------------------------------------------------------------------------------------
765
+  (0.1ms) rollback transaction
766
+  (0.1ms) begin transaction
767
+ ----------------------------------------------------------------
768
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
769
+ ----------------------------------------------------------------
770
+  (0.0ms) rollback transaction
771
+  (0.0ms) begin transaction
772
+ -----------------------------------------------------------------------
773
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
774
+ -----------------------------------------------------------------------
775
+  (0.1ms) rollback transaction
776
+  (0.1ms) begin transaction
777
+ -------------------------------------------------------------------------
778
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
779
+ -------------------------------------------------------------------------
780
+  (0.1ms) rollback transaction
781
+  (0.1ms) begin transaction
782
+ ----------------------------------------------------------------------------
783
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
784
+ ----------------------------------------------------------------------------
785
+  (0.1ms) rollback transaction
786
+  (0.1ms) begin transaction
787
+ -----------------------------------------------------------------------------
788
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
789
+ -----------------------------------------------------------------------------
790
+  (0.1ms) rollback transaction
791
+  (0.1ms) begin transaction
792
+ ---------------------------------------------------------------
793
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
794
+ ---------------------------------------------------------------
795
+  (0.1ms) rollback transaction
796
+  (0.1ms) begin transaction
797
+ -------------------------------------------------------------------
798
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
799
+ -------------------------------------------------------------------
800
+  (0.1ms) rollback transaction
801
+  (0.1ms) begin transaction
802
+ --------------------------------------------------------------------
803
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
804
+ --------------------------------------------------------------------
805
+  (0.1ms) rollback transaction
806
+  (0.1ms) begin transaction
807
+ ------------------------------------------------------------------
808
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
809
+ ------------------------------------------------------------------
810
+  (0.1ms) rollback transaction
811
+  (0.1ms) begin transaction
812
+ -------------------------------------------------------------
813
+ I18nDashboard::TranslationTest: test_should_return_match_keys
814
+ -------------------------------------------------------------
815
+  (0.1ms) rollback transaction
816
+  (0.1ms) begin transaction
817
+ -----------------------------------------------------------------------
818
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
819
+ -----------------------------------------------------------------------
820
+  (0.1ms) rollback transaction
821
+  (0.1ms) begin transaction
822
+ ------------------------------------------------------------------------------
823
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
824
+ ------------------------------------------------------------------------------
825
+  (0.1ms) rollback transaction
826
+  (0.1ms) begin transaction
827
+ ---------------------------------------------------------------------------------------
828
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
829
+ ---------------------------------------------------------------------------------------
830
+  (0.1ms) rollback transaction
831
+  (0.1ms) begin transaction
832
+ -----------------------------------------------------------------------------
833
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
834
+ -----------------------------------------------------------------------------
835
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
836
+ Redirected to http://test.host/
837
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
838
+  (0.1ms) rollback transaction
839
+  (0.1ms) begin transaction
840
+ ---------------------------------------------------------------------------
841
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
842
+ ---------------------------------------------------------------------------
843
+ Processing by I18nDashboard::TranslationsController#destroy as JS
844
+ Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms)
845
+  (0.1ms) rollback transaction
846
+  (0.1ms) begin transaction
847
+ --------------------------------------------------------------------------
848
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
849
+ --------------------------------------------------------------------------
850
+ Processing by I18nDashboard::TranslationsController#create as HTML
851
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
852
+ Redirected to http://test.host/
853
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
854
+  (0.1ms) rollback transaction
855
+  (0.1ms) begin transaction
856
+ ------------------------------------------------------------------------
857
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
858
+ ------------------------------------------------------------------------
859
+ Processing by I18nDashboard::TranslationsController#create as JS
860
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
861
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (8.1ms)
862
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (3.8ms)
863
+ Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms)
864
+  (0.1ms) rollback transaction
865
+  (0.1ms) begin transaction
866
+ ----------------------------------------------------------------------------------
867
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
868
+ ----------------------------------------------------------------------------------
869
+  (0.1ms) rollback transaction
870
+  (0.4ms) begin transaction
871
+ -----------------------------------------------------------------------------------
872
+ I18nDashboard::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
873
+ -----------------------------------------------------------------------------------
874
+  (0.2ms) rollback transaction
875
+  (0.1ms) begin transaction
876
+ ----------------------------------------------------------------------------------------------------
877
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
878
+ ----------------------------------------------------------------------------------------------------
879
+  (0.1ms) rollback transaction
880
+  (0.1ms) begin transaction
881
+ ---------------------------------------------------------------------------------------------------------
882
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
883
+ ---------------------------------------------------------------------------------------------------------
884
+  (0.1ms) rollback transaction
885
+  (0.1ms) begin transaction
886
+ -----------------------------------------------------------------------
887
+ I18nDashboard::ApplicationHelperTest: test_should_not_know_other_routes
888
+ -----------------------------------------------------------------------
889
+  (0.1ms) rollback transaction
890
+  (0.1ms) begin transaction
891
+ -------------------------------------------------------------------------------
892
+ I18nDashboard::ConfigurationTest: test_should_set_:authentication_method_to_nil
893
+ -------------------------------------------------------------------------------
894
+  (0.1ms) rollback transaction
895
+  (0.1ms) begin transaction
896
+ ----------------------------------------------------------------------------------------
897
+ I18nDashboard::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
898
+ ----------------------------------------------------------------------------------------
899
+  (0.0ms) rollback transaction
900
+  (0.0ms) begin transaction
901
+ ----------------------------------------------------------------
902
+ I18nDashboard::ConfigurationTest: test_should_set_:layout_to_nil
903
+ ----------------------------------------------------------------
904
+  (0.0ms) rollback transaction
905
+  (0.1ms) begin transaction
906
+ -----------------------------------------------------------------------
907
+ I18nDashboard::TranslationTest: test_should_add_the_key_to_the_set_keys
908
+ -----------------------------------------------------------------------
909
+  (0.1ms) rollback transaction
910
+  (0.1ms) begin transaction
911
+ -------------------------------------------------------------------------
912
+ I18nDashboard::TranslationTest: test_should_be_exist_on_I18n_translations
913
+ -------------------------------------------------------------------------
914
+  (0.1ms) rollback transaction
915
+  (0.1ms) begin transaction
916
+ ----------------------------------------------------------------------------
917
+ I18nDashboard::TranslationTest: test_should_be_true_if_exists_in_system_keys
918
+ ----------------------------------------------------------------------------
919
+  (0.1ms) rollback transaction
920
+  (0.1ms) begin transaction
921
+ -----------------------------------------------------------------------------
922
+ I18nDashboard::TranslationTest: test_should_be_true_if_the_translation_exists
923
+ -----------------------------------------------------------------------------
924
+  (0.1ms) rollback transaction
925
+  (0.1ms) begin transaction
926
+ ---------------------------------------------------------------
927
+ I18nDashboard::TranslationTest: test_should_create_a_key_digest
928
+ ---------------------------------------------------------------
929
+  (0.1ms) rollback transaction
930
+  (0.1ms) begin transaction
931
+ -------------------------------------------------------------------
932
+ I18nDashboard::TranslationTest: test_should_remove_from_keys_digest
933
+ -------------------------------------------------------------------
934
+  (0.1ms) rollback transaction
935
+  (0.1ms) begin transaction
936
+ --------------------------------------------------------------------
937
+ I18nDashboard::TranslationTest: test_should_remove_the_key_from_keys
938
+ --------------------------------------------------------------------
939
+  (0.1ms) rollback transaction
940
+  (0.1ms) begin transaction
941
+ ------------------------------------------------------------------
942
+ I18nDashboard::TranslationTest: test_should_remove_the_translation
943
+ ------------------------------------------------------------------
944
+  (0.1ms) rollback transaction
945
+  (0.1ms) begin transaction
946
+ -------------------------------------------------------------
947
+ I18nDashboard::TranslationTest: test_should_return_match_keys
948
+ -------------------------------------------------------------
949
+  (0.1ms) rollback transaction
950
+  (0.1ms) begin transaction
951
+ -----------------------------------------------------------------------
952
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_keys
953
+ -----------------------------------------------------------------------
954
+  (0.1ms) rollback transaction
955
+  (0.1ms) begin transaction
956
+ ------------------------------------------------------------------------------
957
+ I18nDashboard::TranslationTest: test_should_return_sorted_array_of_system_keys
958
+ ------------------------------------------------------------------------------
959
+  (0.1ms) rollback transaction
960
+  (0.1ms) begin transaction
961
+ ---------------------------------------------------------------------------------------
962
+ I18nDashboard::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
963
+ ---------------------------------------------------------------------------------------
964
+  (0.1ms) rollback transaction
965
+  (0.1ms) begin transaction
966
+ -----------------------------------------------------------------------------
967
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_HTML
968
+ -----------------------------------------------------------------------------
969
+ Processing by I18nDashboard::TranslationsController#destroy as HTML
970
+ Redirected to http://test.host/
971
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
972
+  (0.2ms) rollback transaction
973
+  (0.1ms) begin transaction
974
+ ---------------------------------------------------------------------------
975
+ I18nDashboard::TranslationsControllerTest: test_should_delete_destroy_as_JS
976
+ ---------------------------------------------------------------------------
977
+ Processing by I18nDashboard::TranslationsController#destroy as JS
978
+ Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.0ms)
979
+  (0.1ms) rollback transaction
980
+  (0.1ms) begin transaction
981
+ --------------------------------------------------------------------------
982
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_HTML
983
+ --------------------------------------------------------------------------
984
+ Processing by I18nDashboard::TranslationsController#create as HTML
985
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
986
+ Redirected to http://test.host/
987
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+ ------------------------------------------------------------------------
991
+ I18nDashboard::TranslationsControllerTest: test_should_post_create_as_JS
992
+ ------------------------------------------------------------------------
993
+ Processing by I18nDashboard::TranslationsController#create as JS
994
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
995
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (8.2ms)
996
+ Rendered /Users/Redrick/Projects/i18n_dashboard/app/views/i18n_dashboard/translations/_key_translation.html.erb (3.5ms)
997
+ Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms)
998
+  (0.1ms) rollback transaction
999
+  (0.1ms) begin transaction
1000
+ ----------------------------------------------------------------------------------
1001
+ I18nDashboardTest: test_should_allow_developers_to_set_configurations_with_a_block
1002
+ ----------------------------------------------------------------------------------
1003
+  (0.1ms) rollback transaction