We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6dd28f7 + 080fd67 commit 1f4fb0aCopy full SHA for 1f4fb0a
spec/annotate/annotate_models_spec.rb
@@ -425,6 +425,11 @@ def encoding_comments_list_each
425
expect(File.read(@model_file_name)).to eq("#{@schema_info}\n#{@file_content}")
426
end
427
428
+ it "should put annotation after class if :position => 'after'" do
429
+ annotate_one_file :position => 'after'
430
+ expect(File.read(@model_file_name)).to eq("#{@file_content}\n#{@schema_info}")
431
+ end
432
+
433
it "should put annotation after class if :position => :after" do
434
annotate_one_file :position => :after
435
expect(File.read(@model_file_name)).to eq("#{@file_content}\n#{@schema_info}")
0 commit comments