Sha256: 62a706119e931e2baebeb394f056bc21b8256fba21790110fbfc157dbe9da555
Contents?: true
Size: 585 Bytes
Versions: 21
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' describe "Order - State Changes", type: :feature do stub_authorization! let!(:order) { create(:order_with_line_items) } context "for completed order" do before do order.next! visit spree.admin_order_state_changes_path(order) end it 'are viewable' do within_row(1) do within('td:nth-child(1)') { expect(page).to have_content('Order') } within('td:nth-child(2)') { expect(page).to have_content('Cart') } within('td:nth-child(3)') { expect(page).to have_content('Address') } end end end end
Version data entries
21 entries across 21 versions & 1 rubygems