mogya

0

votes
0

answer
5

views

access the react server on cloud9 from PC browser

I want to try a react hands-on on cloud9. However, I can not access to the server on my PC browser. Detail: I've run an AWS Cloud9 environment with the default setting. Next run these commands. npx create-react-app handson-react-2019 --typecscript npm start Then it says. Compiled successfully! You c...
mogya
2

votes
0

answer
43

views

What's the meaning to test 'ActionMailer::Base.deliveries.size'?

To test rails action mailer code with rspec, it's common to check ActionMailer::Base.deliveries.size like this: it 'sends an email successfully' do expect { mail.deliver_now }.to change { ActionMailer::Base.deliveries.size }.by(1) end What's the meaning of this test? What type of bug we can find by...
mogya