1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/spec/requests/passports/index_spec.rb
2018-12-02 22:29:09 +05:00

21 lines
478 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'GET /passports' do
before do
create :empty_passport
create :passport_with_passport_map
create :passport_with_image
create :passport_with_passport_map_and_image
create :passport_with_almost_enough_confirmations
create :passport_with_enough_confirmations
create :confirmed_passport
get '/passports'
end
specify do
expect(response).to have_http_status :ok
end
end