RSpec.describe HogeHoge do describe '#foo' do # Act subject { hoge_hoge.foo } # Arrange let(:hoge_hoge) { HogeHoge.new } before do # ãããArrange hoge_hoge.bar = 1 end # Assert context 'ââã®å ´å' do it 'trueãè¿ããã¨' do is_expected.to eq true end end end end ã¢ãã¯ã¯å¿ è¦æå°éã«ãã§ãæå¹ã«ä½¿ç¨ãã ãã¹ãã«ããã¦ãæ¬ç©ã®ããªãããå½ãªãã¸ã§ã¯ããã§ããã¢ãã¯ã¯é常ã«å¼·åã§æç¨ã§ããç¹ã«ãã¹ãã³ã¼ããæ¸ãä¸ã§å¤§ãã«æ©ã¾ããä¸è¨2ã¤ã®ãããªåé¡ã解æ¶ã§ãããã¨ã¯ã¨ã¦ããããããã§ãã ä¸ä½ã¢ã¼ããã¯ãã£å±¤ã®å ¨ã¦ã®æåãèæ ®ãã¦ãã¹ãã³ã¼ããè¨è¿°ããå¿ è¦ã
{{#tags}}- {{label}}
{{/tags}}