spec/shelly/cli/main_spec.rb in shelly-0.5.1 vs spec/shelly/cli/main_spec.rb in shelly-0.5.2
- old
+ new
@@ -121,10 +121,9 @@
end
context "on successful registration" do
it "should display message about registration and email address confirmation" do
$stdout.should_receive(:puts).with(green "Successfully registered!")
- $stdout.should_receive(:puts).with(green "Check you mailbox for email address confirmation")
fake_stdin(["better@example.com", "secret", "secret", "yes"]) do
invoke(@main, :register)
end
end
end