diff options
Diffstat (limited to 'spec/services/download_service_spec.rb')
-rw-r--r-- | spec/services/download_service_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/services/download_service_spec.rb b/spec/services/download_service_spec.rb index 0af1d7ab..0f3cd758 100644 --- a/spec/services/download_service_spec.rb +++ b/spec/services/download_service_spec.rb @@ -7,7 +7,8 @@ RSpec.describe DownloadService do context "windows", :vcr do before do - mocked_version = Version.new(id: 0, name: "0.0.0", commit_sha: "sha", committed: Time.current, created_at: Time.current, updated_at: Time.current, vorder: Version.version_to_num("0.0.0")) + mocked_version = Version.new(id: 0, name: "0.0.0", commit_sha: "sha", committed: Time.current, + created_at: Time.current, updated_at: Time.current, vorder: Version.version_to_num("0.0.0")) allow(Version).to receive(:find_by).with(any_args).and_return(mocked_version) subject.download_windows_versions end @@ -27,7 +28,8 @@ RSpec.describe DownloadService do context "mac", :vcr do before do - mocked_version = Version.new(id: 0, name: "0.0.0", commit_sha: "sha", committed: Time.current, created_at: Time.current, updated_at: Time.current, vorder: Version.version_to_num("0.0.0")) + mocked_version = Version.new(id: 0, name: "0.0.0", commit_sha: "sha", committed: Time.current, + created_at: Time.current, updated_at: Time.current, vorder: Version.version_to_num("0.0.0")) allow(Version).to receive(:find_by).with(any_args).and_return(mocked_version) subject.download_mac_versions end |