File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 44 subject { described_class . new ( nil , nil ) }
55
66 it "doesn't permit index action" do
7- expect ( subject . index? ) . to be_falsey
7+ expect ( subject ) . not_to be_index
88 end
99
1010 it "doesn't permit show action" do
11- expect ( subject . show? ) . to be_falsey
11+ expect ( subject ) . not_to be_show
1212 end
1313
1414 it "doesn't permit create action" do
15- expect ( subject . create? ) . to be_falsey
15+ expect ( subject ) . not_to be_create
1616 end
1717
1818 it "doesn't permit new action" do
19- expect ( subject . new? ) . to be_falsey
19+ expect ( subject ) . not_to be_new
2020 end
2121
2222 it "doesn't permit update action" do
23- expect ( subject . update? ) . to be_falsey
23+ expect ( subject ) . not_to be_update
2424 end
2525
2626 it "doesn't permit edit action" do
27- expect ( subject . edit? ) . to be_falsey
27+ expect ( subject ) . not_to be_edit
2828 end
2929
3030 it "doesn't permit destroy action" do
31- expect ( subject . destroy? ) . to be_falsey
31+ expect ( subject ) . not_to be_destroy
3232 end
3333end
Original file line number Diff line number Diff line change 146146 end
147147 end
148148
149- describe "GET /leave" do
149+ xdescribe "GET /leave" do
150150 subject ( :request ) do
151151 get leave_case_contact_path
152152
You can’t perform that action at this time.
0 commit comments