Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update spec/models/attachment_spec.rb

Oliver Güntherdf6600dbabf8
diff --git a/spec/models/attachment_spec.rb b/spec/models/attachment_spec.rb
index 8afcc7b9c3b..91b249efa18 100644
--- a/spec/models/attachment_spec.rb
+++ b/spec/models/attachment_spec.rb
@@ -298,7 +298,7 @@ RSpec.describe Attachment do
describe "for an HTML file" do
let(:attachment) { described_class.new }
- it "assumes it to be inlineable" do
+ it "assumes it not to be inlineable" do
attachment.content_type = "text/html"
expect(attachment).to be_is_html
expect(attachment).not_to be_is_text