Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rspec: add context block

  • Loading branch information...
commit 70cbe70b7d7169c9575182b2059d75b37d1718a4 1 parent 76cb6b4
@myokoym authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  spec/syllable_spec.rb
View
2  spec/syllable_spec.rb
@@ -3,6 +3,7 @@
describe MeCab::Syllable do
subject { MeCab::Syllable }
+ context "#count" do
it "めかぶ == 3" do
subject.new("めかぶ").count.should == 3
end
@@ -10,4 +11,5 @@
it "今日は雨 == 5" do
subject.new("今日は雨").count.should == 5
end
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.