diff --git a/spec/requests/admin/embeddable_hosts_controller_spec.rb b/spec/requests/admin/embeddable_hosts_controller_spec.rb index 004afad1bf2..6170de0f039 100644 --- a/spec/requests/admin/embeddable_hosts_controller_spec.rb +++ b/spec/requests/admin/embeddable_hosts_controller_spec.rb @@ -30,7 +30,7 @@ describe Admin::EmbeddableHostsController do describe '#update' do xit "logs embeddable host update" do category = Fabricate(:category) - + put "/admin/embeddable_hosts/#{embeddable_host.id}.json", params: { embeddable_host: { host: "test.com", class_name: "test-class", category_id: category.id } } diff --git a/spec/requests/admin/users_controller_spec.rb b/spec/requests/admin/users_controller_spec.rb index 9ea3689d24c..451cf274160 100644 --- a/spec/requests/admin/users_controller_spec.rb +++ b/spec/requests/admin/users_controller_spec.rb @@ -796,6 +796,8 @@ RSpec.describe Admin::UsersController do expect(u.name).to eq("Bill") expect(u.username).to eq("bill22") expect(u.admin).to eq(true) + expect(u.active).to eq(true) + expect(u.approved).to eq(true) end it "doesn't send the email with send_email falsey" do