Permalink
Browse files

Fixing broken integration test

  • Loading branch information...
1 parent 618dc67 commit 838ab2ebe6ead60b6925be0123f6bd0aba7a151b @chrisbloom7 chrisbloom7 committed Apr 4, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/integration/trip_tickets_test.rb
@@ -27,7 +27,7 @@ class TripTicketsTest < ActionController::IntegrationTest
test "provider admins can create new trip tickets" do
click_link "Tickets"
- click_link "New Trip ticket"
+ click_link "Add New"
fill_in_minimum_required_trip_ticket_fields
@@ -54,7 +54,7 @@ class TripTicketsTest < ActionController::IntegrationTest
describe "#{field_sym.to_s} string_array fields" do
test "provider admins should see a single #{field_sym.to_s} field when creating a trip ticket (and can save it even w/o javascript, but cannot add more than a single new value)" do
click_link "Tickets"
- click_link "New Trip ticket"
+ click_link "Add New"
fill_in_minimum_required_trip_ticket_fields
@@ -144,7 +144,7 @@ class TripTicketsTest < ActionController::IntegrationTest
# # vv- here be unexercised tests -vv
#
# click_link "Tickets"
- # click_link "New Trip ticket"
+ # click_link "Add New"
#
# fill_in_minimum_required_trip_ticket_fields
#
@@ -172,7 +172,7 @@ class TripTicketsTest < ActionController::IntegrationTest
test "provider admins should see a single pair of customer identifier attribute fields when creating a trip ticket (but cannot save them without javascript)" do
click_link "Tickets"
- click_link "New Trip ticket"
+ click_link "Add New"
within('#customer_identifiers') do
assert_equal 1, all('.hstoreAttributeName').size

0 comments on commit 838ab2e

Please sign in to comment.