spec/lib/writefully/content_spec.rb in writefully-0.7.1 vs spec/lib/writefully/content_spec.rb in writefully-0.8.0
- old
+ new
@@ -11,10 +11,10 @@
"cover" => "assets/hash-selector-icon.png" },
"position" => 1
} }
subject(:content) { Writefully::Content.new(index) }
- its(:body) { should include "# Hash Selector Pattern" }
+ its(:body) { is_expected.to include "# Hash Selector Pattern" }
its(:meta) { should eq meta }
its(:slug) { should eq 'hash-selector-pattern' }
its(:position) { should eq 1 }
end
end
\ No newline at end of file