spec/ruby_gem_spec.rb in howzit-1.2.13 vs spec/ruby_gem_spec.rb in howzit-1.2.14
- old
+ new
@@ -21,17 +21,17 @@
expect(subject.note_file).not_to be_empty
end
end
describe ".grep_topics" do
- it "found editable" do
+ it "finds editable" do
expect(subject.grep_topics('editable')).to include('File Structure')
expect(subject.grep_topics('editable')).not_to include('Build')
end
end
describe ".list_topic_titles" do
- it "found 4 topics" do
+ it "finds 4 topics" do
expect(subject.topics.keys.count).to eq 4
end
it "outputs a newline-separated string" do
expect(subject.list_topic_titles.scan(/\n/).count).to eq 3
end