revert foo
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Philipp Rothmann 2022-10-06 16:13:10 +02:00
parent 75b0bdf856
commit 085e854361
2 changed files with 0 additions and 13 deletions

View file

@ -4,10 +4,6 @@ describe OrderArticle do
let(:order) { create :order, article_count: 1 } let(:order) { create :order, article_count: 1 }
let(:oa) { order.order_articles.first } let(:oa) { order.order_articles.first }
it 'foo' do
oa.update_article_and_price!()
end
it 'is not ordered by default' do it 'is not ordered by default' do
expect(OrderArticle.ordered.count).to eq 0 expect(OrderArticle.ordered.count).to eq 0
end end

View file

@ -68,15 +68,6 @@ if ENV['COVERAGE'] == 'lcov'
SimpleCov.formatters = SimpleCov::Formatter::LcovFormatter SimpleCov.formatters = SimpleCov::Formatter::LcovFormatter
end end
if ENV['COVERAGE'] == 'html'
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = 'coverage/lcov.html'
end
SimpleCov.formatters = SimpleCov::Formatter::HTMLFormatter
end
# include default foodsoft scope in urls, so that *_path works # include default foodsoft scope in urls, so that *_path works
# https://github.com/rspec/rspec-rails/issues/255 # https://github.com/rspec/rspec-rails/issues/255
class ActionDispatch::Routing::RouteSet class ActionDispatch::Routing::RouteSet