çããããã«ã¡ã¯ãã¹ã¼ãã¼ã®ããã¼ã«è¢ã¯æ¿¡ãã¿ãªã«ã触ã£ã¦ããéããæ¹ãMUGENUP ã® osada ã§ãã ä»åã¯expect ã«ã¤ãã¦èª¿æ»ãããã¨ãæ¸ãããã¨æãã¾ãã ã¿ã¼ã²ããã¯ãrspecãä¸æãæ¸ããªãã¦ãæ°ãä»ãã¨3æéããã¹ããæ¸ãã¦ãããã¨ãããããªrspecåå¿è ã§ã(å®è©±)ã ä¸é管çè· expect ãã ã§ã¯ãæ¬é¡ã®expectã§ããã¾ãã¯å1ããã5ç§ã§çãã¦ãã ããã describe Person do it "should be a instance" do expect{Person.new}.to be_a(Person) end it "should be a instance" do expect(Person.new).to be_a(Person) end end å1 両æ¹ãã¹ããéã ä¸ã®ãã¹ããéããªã ä¸ã®ãã¹ããéããªã 両æ¹éããª
{{#tags}}- {{label}}
{{/tags}}