push
travis-ci
15 of 15 new or added lines in 4 files covered. (100.0%)
3348 of 6540 relevant lines covered (51.19%)
12.04 hits per line
1 |
module Sufia |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
2 |
class ImportUrlSuccessService < MessageUserService |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
3 |
def call |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
4 |
FileSetAttachedEventJob.perform_later(file_set, user)
|
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
5 |
super
|
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
6 |
end
|
× |
7 |
|
× |
8 |
def message |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
9 |
"The file (#{file_set.label}) was successfully imported and attached to #{curation_concern.title.first}."
|
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
10 |
end
|
× |
11 |
|
× |
12 |
def subject |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
13 |
'File Import'
|
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
14 |
end
|
× |
15 |
|
× |
16 |
private |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
17 |
|
× |
18 |
def curation_concern |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
19 |
file_set.in_works.first |
1 only 2.3.1, RAILS_VERSION=4.2.7.1 ✔ |
20 |
end
|
× |
21 |
end
|
× |
22 |
end
|
× |