Commit 3aac227a by Artūrs Mekšs

Fix: test must track encoding comment not the whole file

parent 8ed78d06
......@@ -407,7 +407,7 @@ end
annotate_one_file :position => :before
File.read(@model_file_name).should == "#{encoding_comment}\n#{@schema_info}#{@file_content}"
File.open(@model_file_name, &:readline).should == "#{encoding_comment}\n"
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment