summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-06-18 11:44:55 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-06-18 11:44:55 +0100
commit67608c7be5b3997231789503fa0bc599cb790f7a (patch)
treef04ff6c6b42bf35bb058e690c102788237a75fbc /spec/models
parent1907738f02f42b02fa86a02aa8af747492698d66 (diff)
parenta170c587a0ee2f303908c70a942ef3f163e2ddb7 (diff)
downloadgitlab-ce-fl-update-registry-code.tar.gz
[ci skip] Merge branch 'master' into fl-update-registry-codefl-update-registry-code
* master: (68 commits) Render calendar feed inline when accessed from GitLab Make Gitaly wiki RPC's mandatory Remove the ci_job_request_with_tags_matcher Optimised paused runners to not re-query every 3s [Rails5] Set request.format for artifacts_controller [Rails5] Fix sessions_controller_spec Rails5 update Gemfile.rails5.lock [Rails5] Fix pipeline_schedules_controller_spec Fix milestones disappearing when changed on MR Harmonize theme preferences previews Resolve "Wiki git clone holder and dropdown is broken" Resolve "Update link in GitLab cluster setup form to say "see pricing"" Resolve "Misalignment in rows on comparison page" Resolve "Stop horizontal scrolling when clicking on board issue" Enable no-multi-assignment in JS files Fix ci mini graph dropdown alignment and positioning Remove additional border from the create project page Fix alert colors Enable display static for ci job dropdowns so that they dont move when window resizes Remove pointer events in favor of boundary viewport ...
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/ci/build_trace_chunk_spec.rb8
-rw-r--r--spec/models/project_services/jira_service_spec.rb2
2 files changed, 1 insertions, 9 deletions
diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb
index cbcf1e55979..b5a6d959ccb 100644
--- a/spec/models/ci/build_trace_chunk_spec.rb
+++ b/spec/models/ci/build_trace_chunk_spec.rb
@@ -54,14 +54,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
it { is_expected.to eq('Sample data in db') }
end
-
- context 'when data_store is others' do
- before do
- build_trace_chunk.send(:write_attribute, :data_store, -1)
- end
-
- it { expect { subject }.to raise_error('Unsupported data store') }
- end
end
describe '#set_data' do
diff --git a/spec/models/project_services/jira_service_spec.rb b/spec/models/project_services/jira_service_spec.rb
index b9f1c7dd5df..6c637533c6b 100644
--- a/spec/models/project_services/jira_service_spec.rb
+++ b/spec/models/project_services/jira_service_spec.rb
@@ -478,7 +478,7 @@ describe JiraService do
create :appearance, favicon: fixture_file_upload('spec/fixtures/dk.png')
props = described_class.new.send(:build_remote_link_props, url: 'http://example.com', title: 'title')
- expect(props[:object][:icon][:url16x16]).to match %r{^http://localhost/uploads/-/system/appearance/favicon/\d+/favicon_main_dk.png$}
+ expect(props[:object][:icon][:url16x16]).to match %r{^http://localhost/uploads/-/system/appearance/favicon/\d+/dk.png$}
end
end
end