spec/space2dash_spec.rb in space2dash-0.0.3 vs spec/space2dash_spec.rb in space2dash-0.0.4
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
describe Space2dash do
- it 'should be Successful execution' do
+ it 'returns dash included in string' do
expect(Space2dash.convert(['fuga hoge foo'])).to include('-') # String case
expect(Space2dash.convert(%w(fuga hoge foo))).to include('-') # Array case
end
end