5
我有这样的代码“未给出原因”:rspec的 - 我怎样才能得到“pendings”有我的文字而不是仅仅
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
我怎样才能得到这些pendings有文本,而不是
我试图把一些文字,以待字之后和块之前,但没有帮助“未给出原因” - 它出现在行末 - 但我仍然拥有“没有理由”的全部内容。