This commit is contained in:
Rohan Mitchell
2014-03-07 11:44:51 +11:00
parent 98e9f7d7e1
commit af31d0cb8f
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ feature %q{
page.should have_text "No matching line items found."
end
context "displaying the list of line items " do
context "displaying the list of line items" do
let!(:o1) { FactoryGirl.create(:order, state: 'complete', completed_at: Time.now ) }
let!(:o2) { FactoryGirl.create(:order, state: 'complete', completed_at: Time.now ) }
let!(:o3) { FactoryGirl.create(:order, state: 'address', completed_at: nil ) }
@@ -374,4 +374,4 @@ feature %q{
end
end
end
end
end

View File

@@ -97,8 +97,8 @@ feature %q{
visit '/admin/products/bulk_edit'
page.should have_field "price", with: "22.0"
page.should have_field "price", with: "44.0"
page.should have_field "price", with: "22.0"
page.should have_field "price", with: "44.0"
page.should_not have_field "price", with: "66.0", visible: true
end