spec/lib/xommelier/atom/entry_spec.rb in xommelier-0.1.32 vs spec/lib/xommelier/atom/entry_spec.rb in xommelier-0.1.33
- old
+ new
@@ -1,16 +1,17 @@
# coding: utf-8
+# frozen_string_literal: true
################################################
# © Alexander Semyonov, 2011—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us> #
################################################
require 'spec_helper'
describe Xommelier::Atom::Entry do
describe 'instance' do
- subject { Xommelier::Atom::Entry.new }
+ subject { described_class.new }
[:id, :title, :updated].each do |must_field|
it { is_expected.to respond_to(must_field) }
end
[:content, :published, :rights, :source, :summary].each do |may_field|