fluentd-ui/spec/models
Kouhei Sutou 88979eb39b Suppress "already initialized constant KEYS" warning
`Class.new {...}` uses a closure to define a class. Closure keeps
environment that includes local variables and so on. Assignment changes
the environment. So `klass = Class.new { KEYS = [] }` doesn't define
`klass::KEYS`. It defines `Object::KEYS`.

    a = 1
    Class.new do
      a = 2
      X = 3
    end
    p a # => 2
    p X # => 3

We need to use `const_set` to define a constant in `Class.new {...}`.
2014-10-05 15:53:44 +09:00
..
fluentd Suppress "already initialized constant KEYS" warning 2014-10-05 15:53:44 +09:00
fluentd_spec.rb Store fluentd setting data to user's home if variant=fluentd_gem 2014-07-30 18:03:41 +09:00
plugin_spec.rb Add plugin model spec 2014-07-29 14:28:23 +09:00
user_spec.rb Remove ActiveRecord from User and RememeberToken 2014-06-19 16:28:34 +09:00