Auto correct rubocop style issues
This commit is contained in:
parent
f260e607bf
commit
7e8c1d041d
39 changed files with 115 additions and 199 deletions
|
|
@ -16,7 +16,7 @@ class CreateArticlePrices < ActiveRecord::Migration[4.2]
|
|||
puts 'add prices to the sample articles'
|
||||
CreateArticles::SAMPLE_ARTICLE_NAMES.each do |a|
|
||||
puts 'Create Price for article ' + a
|
||||
raise 'article #{a} not found!' unless article = Article.find_by_name(a)
|
||||
raise "article #{a} not found!" unless article = Article.find_by_name(a)
|
||||
|
||||
new_price = ArticlePrice.new(:clear_price => rand(4) + 1,
|
||||
:tax => 7.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue