Skip to content

Commit

Permalink
standard again
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed Jun 24, 2020
1 parent 8a984cb commit 798689f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
26 changes: 13 additions & 13 deletions lib/coverband/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ class Configuration
# * Perhaps detect heroku deployment ENV var opposed to tasks?
#####
IGNORE_TASKS = ["coverband:clear",
"coverband:coverage",
"coverband:coverage_server",
"coverband:migrate",
"assets:precompile",
"db:version",
"db:create",
"db:drop",
"db:seed",
"db:setup",
"db:test:prepare",
"db:structure:dump",
"db:structure:load",
"db:version"]
"coverband:coverage",
"coverband:coverage_server",
"coverband:migrate",
"assets:precompile",
"db:version",
"db:create",
"db:drop",
"db:seed",
"db:setup",
"db:test:prepare",
"db:structure:dump",
"db:structure:load",
"db:version"]

# Heroku when building assets runs code from a dynamic directory
# /tmp was added to avoid coverage from /tmp/build directories during
Expand Down
4 changes: 2 additions & 2 deletions test/benchmarks/benchmark.rake
Original file line number Diff line number Diff line change
Expand Up @@ -417,5 +417,5 @@ end

desc "runs benchmarks"
task benchmarks: ["benchmarks:redis_reporting",
"benchmarks:compare_file",
"benchmarks:compare_redis"]
"benchmarks:compare_file",
"benchmarks:compare_redis"]
14 changes: 7 additions & 7 deletions test/coverband/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ def setup
end
Coverband::Collectors::Coverage.instance.reset_instance
expected = ["vendor/",
".erb$",
".slim$",
"/tmp",
"internal:prelude",
"schema.rb",
"config/envionments",
"config/initializers"]
".erb$",
".slim$",
"/tmp",
"internal:prelude",
"schema.rb",
"config/envionments",
"config/initializers"]
assert_equal expected, Coverband.configuration.ignore
end

Expand Down
10 changes: 5 additions & 5 deletions test/coverband/utils/result_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
end

%i[covered_percent
covered_percentages
covered_strength
covered_lines
missed_lines
total_lines].each do |msg|
covered_percentages
covered_strength
covered_lines
missed_lines
total_lines].each do |msg|
it "responds to #{msg}" do
assert(subject.respond_to?(msg))
end
Expand Down

0 comments on commit 798689f

Please sign in to comment.