Tweaking the bulk order management spec again

This commit is contained in:
Will Marshall
2014-05-02 12:41:04 +10:00
parent 8c319334db
commit 705e247eb8
2 changed files with 11 additions and 3 deletions

View File

@@ -8,8 +8,7 @@ feature %q{
include AuthorizationHelpers
include WebHelper
before(:all) { Spree::Ability.register_ability(AuthorizationHelpers::Request::SuperAbility) }
after(:all) { Spree::Ability.remove_ability(AuthorizationHelpers::Request::SuperAbility) }
stub_authorization!
before :all do
@default_wait_time = Capybara.default_wait_time
@@ -36,6 +35,7 @@ feature %q{
it "displays a message when number of line items is zero" do
visit '/admin/orders/bulk_management'
page.should have_text "No matching line items found."
end
context "displaying the list of line items" do