Merge pull request #86 from finnlabs/remove-warnings

Remove warnings in test outputs
pull/6827/head
Stefan Botzenhart 9 years ago
commit 9216224a40
  1. 1
      lib/widget/entry_table.rb
  2. 2
      spec/models/cost_query/validation_spec.rb

@ -157,7 +157,6 @@ class Widget::Table::EntryTable < Widget::Table
icons << link_to(icon_wrapper('icon-context icon-delete', l(:button_delete)), icons << link_to(icon_wrapper('icon-context icon-delete', l(:button_delete)),
(action_for(result, action: 'destroy') (action_for(result, action: 'destroy')
.reverse_merge(authenticity_token: form_authenticity_token)), .reverse_merge(authenticity_token: form_authenticity_token)),
title: l(:button_edit),
data: { confirm: l(:text_are_you_sure) }, data: { confirm: l(:text_are_you_sure) },
method: :delete, method: :delete,
class: 'no-decoration-on-hover', class: 'no-decoration-on-hover',

@ -19,7 +19,7 @@
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe CostQuery::Validation, type: :model do describe "CostQuery::Validation", type: :model do
class CostQuery::SomeBase class CostQuery::SomeBase
include CostQuery::Validation include CostQuery::Validation
end end

Loading…
Cancel
Save