add wallet address to user
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
# remember_created_at :datetime
|
||||
# reset_password_sent_at :datetime
|
||||
# reset_password_token :string
|
||||
# wallet_address :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
|
||||
@@ -6,9 +6,9 @@ RSpec.describe(Types::UserType) do
|
||||
|
||||
describe "arguments" do
|
||||
it { is_expected.to(have_a_field(:id).of_type("ID!")) }
|
||||
it { is_expected.to(have_a_field(:email).of_type("String!")) }
|
||||
it { is_expected.to(have_a_field(:first_name).of_type("String!")) }
|
||||
it { is_expected.to(have_a_field(:last_name).of_type("String!")) }
|
||||
it { is_expected.to(have_a_field(:full_name).of_type("String!")) }
|
||||
it { is_expected.to(have_a_field(:email).of_type("String!")) }
|
||||
it { is_expected.to(have_a_field(:wallet_address).of_type("String")) }
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
# remember_created_at :datetime
|
||||
# reset_password_sent_at :datetime
|
||||
# reset_password_token :string
|
||||
# wallet_address :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe("Homes", type: :request) do
|
||||
describe "GET /index" do
|
||||
describe "GET /" do
|
||||
it "returns http success" do
|
||||
get "/home/index"
|
||||
get "/"
|
||||
expect(response).to(have_http_status(:success))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user