Skip to content

Commit

Permalink
removed-capitals
Browse files Browse the repository at this point in the history
  • Loading branch information
gonyere committed Mar 2, 2021
1 parent ec4a5cd commit 20fa628
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions spec/features/events_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
confirm_msg = accept_confirm do
click_link 'New'
end
confirm_msg.should include 'Make sure that the event is not currently included in the list'
confirm_msg.should include 'ake sure that the event is not currently included in the list'

# Protected attributes should not be displayed
page.should_not have_field 'event[visa_letters]'
Expand All @@ -24,7 +24,7 @@
select 'United States', from: 'country'

click_button 'Create event'
page.should have_content 'Event was successfully created'
page.should have_content 'vent was successfully created'
page.should_not have_content 'validated'
end

Expand All @@ -43,7 +43,7 @@
check 'validated'

click_button 'Create event'
page.should have_content 'Event was successfully created'
page.should have_content 'vent was successfully created'
within('.wrapper.event_visa_letters') do
page.should have_content 'No'
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/reimbursement_process_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
fill_in 'subject', with: 'This is the payment subject'
select 'Transfer', from: 'payment_method'
click_button 'Create payment'
page.should have_content 'Payment was successfully created'
page.should have_content 'ayment was successfully created'
page.should have_content 'This is the payment subject'

# And mark it as payed
Expand Down
8 changes: 4 additions & 4 deletions spec/features/visa_letter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
sign_in_as_user(users(:luke))
visit travel_sponsorship_path(requests(:luke_for_party))
# request show
page.should_not have_content 'Visa letter needed'
page.should_not have_content 'isa letter needed'
click_link 'Edit'
# edit_request form
page.should have_content 'Edit travel support request'
page.should_not have_content 'Visa letter needed'
page.should_not have_content 'isa letter needed'
end

scenario 'Applying to a visa enabled event' do
Expand All @@ -22,10 +22,10 @@

# new_request form
page.should have_content 'New travel support request'
page.should have_content 'Visa letter needed'
page.should have_content 'isa letter needed'
click_button 'Create travel support request'
# request show
page.should have_content 'request was successfully created'
page.should have_content 'Visa letter needed'
page.should have_content 'isa letter needed'
end
end

0 comments on commit 20fa628

Please sign in to comment.