spec/email_spec.rb in maily-0.3.3 vs spec/email_spec.rb in maily-0.3.4

- old
+ new

@@ -6,11 +6,11 @@ context "with no arguments" do let (:email) { mailer.find_email('welcome') } it "should not require hook" do expect(email.required_arguments).to be_blank - expect(email.require_hook?).to be_false + expect(email.require_hook?).to be false end it ".call" do expect { email.call }.to_not raise_error end @@ -19,10 +19,10 @@ context "with arguments" do let (:email) { mailer.find_email('invitation') } it "should require hook" do expect(email.required_arguments).to be_present - expect(email.require_hook?).to be_true + expect(email.require_hook?).to be true end it "should handle arguments successfully" do expect(email.arguments).to be_present expect(email.arguments.size).to eq(email.required_arguments.size)