Skip to content

Commit

Permalink
Merge pull request #976 from jhawthorn/fix_master
Browse files Browse the repository at this point in the history
Fix broken spec following tab name change
  • Loading branch information
jhawthorn committed Mar 9, 2016
2 parents 8c939b8 + d4fbd6d commit 69d88e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/spec/features/admin/orders/new_order_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
user.update!(email: xss_string)
end
it "displays the user's email escaped without executing" do
click_on "Customer Details"
click_on "Customer"
targetted_select2_search user.email, from: "#s2id_customer_search"
expect(page).to have_field("Customer E-Mail", with: xss_string)
end
Expand Down

0 comments on commit 69d88e9

Please sign in to comment.