spec/signore/database_spec.rb in signore-0.1.0 vs spec/signore/database_spec.rb in signore-0.1.1
- old
+ new
@@ -41,19 +41,19 @@
db = Database.new file.path
sig = Signature.new 'Normaliser Unix c’est comme pasteuriser le camembert.'
db << sig
- file.read.must_equal <<-END.dedent
+ file.read.must_equal <<-end.dedent
---
signatures:
- !ruby/struct:Signore::Signature
text: Normaliser Unix c’est comme pasteuriser le camembert.
- author: !!null
- source: !!null
- subject: !!null
- tags: !!null
- END
+ author:
+ source:
+ subject:
+ tags:
+ end
end
end
end end