push
travis-ci
13 of 13 new or added lines in 2 files covered. (100.0%)
357 of 364 relevant lines covered (98.08%)
757.05 hits per line
|
module Lotus |
12 all except jruby-head ✔ |
|
module Validations |
12 all except jruby-head ✔ |
3 |
# @since x.x.x
|
|
4 |
# @api private
|
|
|
class NestedAttributes |
12 all except jruby-head ✔ |
6 |
# @since x.x.x
|
|
7 |
# @api private
|
|
|
def self.fabricate(&blk) |
12 all except jruby-head ✔ |
|
dup.tap do |klass|
|
72 all except jruby-head ✔ |
|
klass.class_eval { include Lotus::Validations } |
138 all except jruby-head ✔ |
|
klass.class_eval(&blk) |
72 all except jruby-head ✔ |
12 |
end
|
|
13 |
end
|
|
14 |
|
|
15 |
# @since x.x.x
|
|
16 |
# @api private
|
|
|
def lotus_nested_attributes? |
12 all except jruby-head ✔ |
|
true
|
× |
|
end
|
× |
20 |
end
|
|
21 |
end
|
|
22 |
end
|