Closed sllewely closed 4 years ago
It means "skip this test". It appears as "pending" in the results. They exist as placeholders for more features I need to implement
On Sat, Nov 9, 2019, 1:42 AM Harry Appler notifications@github.com wrote:
@happler commented on this pull request.
In spec/requests/events_spec.rb https://github.com/sllewely/concert_buddies/pull/76#discussion_r344431762 :
- before do
- sign_in user
- create(:user_event_response, user: user, event: event_a, host: true)
- end
- it 'shows the given event I have created' do
- get "/api/v1/events/#{event_a.id}"
- expect(result['name']).to eq(event_a.name)
- expect(result['location']).to eq (event_a.location)
- expect(result['description']).to eq(event_a.description)
- expect(result['event_link']).to eq(event_a.event_link)
- end
- xit 'shows the event I am invited to' do
what's the xit?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sllewely/concert_buddies/pull/76?email_source=notifications&email_token=ACAPUK3DRC24TEH25TC7VITQSZLUNA5CNFSM4JIGDA2KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCK7ZBDA#pullrequestreview-314544268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAPUK6UTI3ALIEIARAQW4DQSZLUNANCNFSM4JIGDA2A .
Feature
implemented 2 endpoints --