diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /spec/models/blob_viewer | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'spec/models/blob_viewer')
-rw-r--r-- | spec/models/blob_viewer/composer_json_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/blob_viewer/gemspec_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/blob_viewer/go_mod_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/blob_viewer/package_json_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/blob_viewer/podspec_json_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/blob_viewer/podspec_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/blob_viewer/route_map_spec.rb | 1 |
7 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/blob_viewer/composer_json_spec.rb b/spec/models/blob_viewer/composer_json_spec.rb index 8d66e9e951f..5af58f3d6c7 100644 --- a/spec/models/blob_viewer/composer_json_spec.rb +++ b/spec/models/blob_viewer/composer_json_spec.rb @@ -14,6 +14,7 @@ RSpec.describe BlobViewer::ComposerJson do } SPEC end + let(:blob) { fake_blob(path: 'composer.json', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/gemspec_spec.rb b/spec/models/blob_viewer/gemspec_spec.rb index b6f3e059c7e..43c63050c90 100644 --- a/spec/models/blob_viewer/gemspec_spec.rb +++ b/spec/models/blob_viewer/gemspec_spec.rb @@ -14,6 +14,7 @@ RSpec.describe BlobViewer::Gemspec do end SPEC end + let(:blob) { fake_blob(path: 'activerecord.gemspec', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/go_mod_spec.rb b/spec/models/blob_viewer/go_mod_spec.rb index 21e84d39a54..3249e86fb03 100644 --- a/spec/models/blob_viewer/go_mod_spec.rb +++ b/spec/models/blob_viewer/go_mod_spec.rb @@ -11,6 +11,7 @@ RSpec.describe BlobViewer::GoMod do module #{Settings.build_gitlab_go_url}/#{project.full_path} SPEC end + let(:blob) { fake_blob(path: 'go.mod', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/package_json_spec.rb b/spec/models/blob_viewer/package_json_spec.rb index d2e8ab6575f..8a394a7334f 100644 --- a/spec/models/blob_viewer/package_json_spec.rb +++ b/spec/models/blob_viewer/package_json_spec.rb @@ -14,6 +14,7 @@ RSpec.describe BlobViewer::PackageJson do } SPEC end + let(:blob) { fake_blob(path: 'package.json', data: data) } subject { described_class.new(blob) } @@ -54,6 +55,7 @@ RSpec.describe BlobViewer::PackageJson do } SPEC end + let(:blob) { fake_blob(path: 'package.json', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/podspec_json_spec.rb b/spec/models/blob_viewer/podspec_json_spec.rb index 61d2602c413..cdeea4e8744 100644 --- a/spec/models/blob_viewer/podspec_json_spec.rb +++ b/spec/models/blob_viewer/podspec_json_spec.rb @@ -14,6 +14,7 @@ RSpec.describe BlobViewer::PodspecJson do } SPEC end + let(:blob) { fake_blob(path: 'AFNetworking.podspec.json', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/podspec_spec.rb b/spec/models/blob_viewer/podspec_spec.rb index 0a0fbcaebd4..c2828067f22 100644 --- a/spec/models/blob_viewer/podspec_spec.rb +++ b/spec/models/blob_viewer/podspec_spec.rb @@ -14,6 +14,7 @@ RSpec.describe BlobViewer::Podspec do end SPEC end + let(:blob) { fake_blob(path: 'Reachability.podspec', data: data) } subject { described_class.new(blob) } diff --git a/spec/models/blob_viewer/route_map_spec.rb b/spec/models/blob_viewer/route_map_spec.rb index bb0284d7868..c412afaac4e 100644 --- a/spec/models/blob_viewer/route_map_spec.rb +++ b/spec/models/blob_viewer/route_map_spec.rb @@ -13,6 +13,7 @@ RSpec.describe BlobViewer::RouteMap do public: 'team/' MAP end + let(:blob) { fake_blob(path: '.gitlab/route-map.yml', data: data) } subject { described_class.new(blob) } |