akkounts/spec/requests/signup_request_spec.rb
Sebastian Kippe 7aadb5cb51
All checks were successful
continuous-integration/drone/push Build is passing
Require valid invitation to start sign-up process
2020-12-02 19:20:01 +01:00

15 lines
283 B
Ruby

require 'rails_helper'
RSpec.describe "Signups", type: :request do
describe "GET /index" do
context "without invitation" do
it "returns http unauthorized" do
get "/signup"
expect(response).to have_http_status(:unauthorized)
end
end
end
end