From e0db323efb1183860330f6490738f7bb01d9772d Mon Sep 17 00:00:00 2001 From: romanrizzi Date: Tue, 30 Apr 2019 15:07:03 -0300 Subject: [PATCH] Remove whitespace and revert unintended change --- spec/requests/admin/embeddable_hosts_controller_spec.rb | 2 +- spec/requests/admin/users_controller_spec.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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