Skip to content

Commit d5eb38d

Browse files
committed
Change api_format to ':txt'
1 parent af11a32 commit d5eb38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/grape/api_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4094,7 +4094,7 @@ def my_method
40944094

40954095
it 'can be overwritten with an explicit api_format' do
40964096
subject.get '/meaning_of_life_with_content_type' do
4097-
api_format 'text/plain'
4097+
api_format :txt
40984098
{ meaning_of_life: 42 }.to_s
40994099
end
41004100
get '/meaning_of_life_with_content_type'

0 commit comments

Comments
 (0)