github
1 of 2 branches covered (50.0%)
38 of 39 relevant lines covered (97.44%)
21.15 hits per line
1 |
module SchemaPlus::Compatibility |
24✔ |
2 |
module ActiveRecord |
24✔ |
3 |
module Migration |
24✔ |
4 |
module ClassMethods |
24✔ |
5 |
def latest_version |
33✔ |
6 |
begin
|
|
7 |
::ActiveRecord::Migration::Current |
24✔ |
8 |
rescue
|
|
9 |
self
|
× |
10 |
end
|
|
11 |
end
|
|
12 |
end
|
|
13 |
end
|
|
14 |
end
|
|
15 |
end
|