Skip to content

Commit 494a691

Browse files
committed
linter
1 parent 1ae34d1 commit 494a691

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/controllers/items_controller_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{
6565
id: item.id,
6666
item: {
67-
unit_ids: [pack_unit.id.to_s, ""],
67+
unit_ids: [pack_unit.id.to_s, ""],
6868
unit_limits: { pack_unit.id.to_s => "500" }
6969
}
7070
}
@@ -82,7 +82,7 @@
8282
end
8383

8484
context "when already has pack selected and unselects pack" do
85-
let!(:item_unit){ create(:item_unit, item: item, request_limit: 500, name: pack_unit.name) }
85+
let!(:item_unit) { create(:item_unit, item: item, request_limit: 500, name: pack_unit.name) }
8686
let(:params) do
8787
{
8888
id: item.id,
@@ -101,12 +101,12 @@
101101
end
102102

103103
context "when selecting pack and unselecting box" do
104-
let!(:item_unit){ create(:item_unit, item: item, request_limit: 1500, name: box_unit.name) }
104+
let!(:item_unit) { create(:item_unit, item: item, request_limit: 1500, name: box_unit.name) }
105105
let(:params) do
106106
{
107107
id: item.id,
108108
item: {
109-
unit_ids: [pack_unit.id.to_s, ""],
109+
unit_ids: [pack_unit.id.to_s, ""],
110110
unit_limits: { pack_unit.id.to_s => "200" }
111111
}
112112
}

0 commit comments

Comments
 (0)