spec/spec_helper.rb in myna_bird-0.2.8 vs spec/spec_helper.rb in myna_bird-0.2.9
- old
+ new
@@ -5,10 +5,10 @@
module ShouldAndShouldNotConvert
def it_should_convert(from, to_hash)
to = to_hash[:to]
it "should convert '#{from}' to '#{to}'" do
- MynaBird.convert(from) == to
+ MynaBird.convert(from).should == to
end
end
def it_should_not_convert(from)
it "should raise MalformedEmailException when attempting to convert '#{from}'" do