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.
1 parent 8ed78d0 commit 3aac227Copy full SHA for 3aac227
spec/annotate/annotate_models_spec.rb
@@ -407,7 +407,7 @@ class User < ActiveRecord::Base
407
408
annotate_one_file :position => :before
409
410
- File.read(@model_file_name).should == "#{encoding_comment}\n#{@schema_info}#{@file_content}"
+ File.open(@model_file_name, &:readline).should == "#{encoding_comment}\n"
411
end
412
413
0 commit comments