RSpecã®è©±ã§ãã RSpecã¯ããã¹ãã³ã¼ãããã®ã¾ã¾ä»æ§ãè¨è¿°ããããã¥ã¡ã³ãã«ãªããã¨ããã®ã大ããªå©ç¹ã®ä¸ã¤ã§ãã ããããrspecã³ãã³ãã«-dãªãã·ã§ã³ã渡ãã¦åºåãããããã¥ã¡ã³ãã¯ãå¿ ãããèªããæç« ã«ãªã£ã¦ããã¨ã¯éãã¾ããã ä¾ã¨ãã¦ã以ä¸ã®ãããªCanCanã®specãè¦ã¦ã¿ã¾ãã require 'spec_helper' require "cancan/matchers" describe Ability do context 'an user' do let(:user) { Factory.create(:user) } let(:article) { Factory.create(:article) } let(:own_article) { Factory.create(:article, :user => user) } subject { Abil
{{#tags}}- {{label}}
{{/tags}}