spec/ircp/prefix_spec.rb in ircp-1.1.2 vs spec/ircp/prefix_spec.rb in ircp-1.1.3
- old
+ new
@@ -19,15 +19,15 @@
describe '#to_s' do
context 'with servername' do
before { @prefix = Ircp::Prefix.new(:servername => 'example.com') }
subject { @prefix }
- its(:to_s) { should eq ':example.com' }
+ its(:to_s) { should eq 'example.com' }
end
context 'with nick, user and host' do
before { @prefix = Ircp::Prefix.new(:nick => 'foo', :user => 'bar', :host => 'example.com') }
subject { @prefix }
- its(:to_s) { should eq ':foo!bar@example.com' }
+ its(:to_s) { should eq 'foo!bar@example.com' }
end
end
end