Skip to content

Commit

Permalink
-FIX pull request specs comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mojarra committed Dec 31, 2015
1 parent 8daa518 commit 649f66b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/heathen/processor_methods/libreoffice_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def new_job content
it 'from OO word' do
new_job oo_word_content
@processor.libreoffice format: 'msoffice'
expect(ms_mime_types).to include(@job.content.mime_type)
expect(ms_word_mime_types).to include(@job.content.mime_type)
end
it 'from OO spreadsheet' do
new_job oo_spreadsheet_content
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/mime_types.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def ms_mime_types
def ms_word_mime_types
['application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary',
'application/zip; charset=binary']
end
Expand Down
4 changes: 2 additions & 2 deletions spec/integration/standard_tasks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
it 'runs' do
content = fixture('heathen/ooword.odt').read
new_content = converter.convert 'msoffice', content
expect(ms_mime_types).to include(new_content.mime_type)
expect(ms_word_mime_types).to include(new_content.mime_type)
end
end

Expand All @@ -106,7 +106,7 @@
it 'runs' do
content = fixture('heathen/ooword.odt').read
new_content = converter.convert 'doc', content
expect(ms_mime_types).to include(new_content.mime_type)
expect(ms_word_mime_types).to include(new_content.mime_type)
end
end
end

0 comments on commit 649f66b

Please sign in to comment.