Sha256: 05efea87e04c1bba338523f275887e6ded1f91ed4dfc2fd425fc86a03285cebc
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
def post_expect_have_workflow_state(workflow_state) within ".attributes_table" do expect(page).to have_content(workflow_state, normalize_ws: true) end end def login_and_navigate_to_post(user, post) login_as user visit admin_category_post_path(post.category, post) end def has_action_item(item) within ".action_items" do expect(page).to have_link(item) end end def has_no_action_item(item) within ".action_items" do expect(page).not_to have_link(item) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_admin-workflow-0.1.0 | spec/support/post_helpers.rb |