Skip to content

Commit

Permalink
Swapped args in mock
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Mar 1, 2024
1 parent 9d1a532 commit a8d903a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/zipline/zip_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def to_s
let(:file){ directory.files.create(file_attributes) }

describe '.normalize' do
let(:generator){ Zipline::ZipGenerator.new(_files = [], _env = {})}
let(:generator){ Zipline::ZipGenerator.new(_env = {}, _files = [])}
context "CarrierWave" do
context "Remote" do
let(:file){ CarrierWave::Storage::Fog::File.new(nil,nil,nil) }
Expand Down

0 comments on commit a8d903a

Please sign in to comment.