私はこのコードを持っています:
context "Visiting the users #index page." do
before(:each) { visit users_path }
subject { page }
pending('iii') { should have_no_css('table#users') }
pending { should have content('You have reached this page due to a permiss
イオンエラー')}
その結果、いくつかの保留が発生します。
Managing Users Given a practitioner logged in. Visiting the users #index page.
# No reason given
# ./spec/requests/role_users_spec.rb:78
Managing Users Given a practitioner logged in. Visiting the users #index page.
# No reason given
# ./spec/requests/role_users_spec.rb:79
これらの保留中のテキストを「理由なし」ではなくテキストにする方法を教えてください。
保留中の単語の後、ブロックの前にテキストを入れようとしましたが、それは役に立ちませんでした-それは行の最後に表示されました-しかし、私はまだすべての「理由が与えられていません」を持っています。