spec/nameable_spec.rb in nameable-1.1.3 vs spec/nameable_spec.rb in nameable-1.1.4
- old
+ new
@@ -1,13 +1,7 @@
require 'spec_helper'
describe Nameable do
- context("convenience methods") do
- it 'to_s' do
- expect(Nameable("Chris Horn")).to be_a(String)
- end
-
- it 'parse' do
- expect(Nameable.parse("Chris Horn")).to be_a(Nameable::Latin)
- end
+ it '.parse' do
+ expect(Nameable.parse('Chris Horn')).to be_a(Nameable::Latin)
end
end