We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6677bd4 commit 545200dCopy full SHA for 545200d
spec/features/order_doesnt_exist_spec.rb
@@ -0,0 +1,10 @@
1
+require 'rails_helper'
2
+
3
+RSpec.feature '予約できる日が存在しない時', type: :feature do
4
+ scenario '予約者は注文日付選択画面が見れる' do
5
+ visit orders_path
6
7
+ expect(page).to have_text('お弁当を予約する')
8
+ expect(page).to have_text('予約できる日がありません')
9
+ end
10
+end
0 commit comments