spec/luggage/mailbox_spec.rb in luggage-1.1.0 vs spec/luggage/mailbox_spec.rb in luggage-1.1.1
- old
+ new
@@ -13,13 +13,9 @@
it "sets the connection" do
expect(Luggage::Mailbox.new(connection, :mailbox).connection).to eq(connection)
end
- it "requires a connection" do
- expect { Luggage::Mailbox.new(:foo, :mailbox).connection }.to raise_error(ArgumentError)
- end
-
it "sets the name" do
expect(Luggage::Mailbox.new(connection, :mailbox).name).to eq(:mailbox)
end
end