Remove whitespace and revert unintended change

This commit is contained in:
romanrizzi 2019-04-30 15:07:03 -03:00
parent 84a3459af6
commit e0db323efb
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,7 @@ describe Admin::EmbeddableHostsController do
describe '#update' do describe '#update' do
xit "logs embeddable host update" do xit "logs embeddable host update" do
category = Fabricate(:category) category = Fabricate(:category)
put "/admin/embeddable_hosts/#{embeddable_host.id}.json", params: { put "/admin/embeddable_hosts/#{embeddable_host.id}.json", params: {
embeddable_host: { host: "test.com", class_name: "test-class", category_id: category.id } embeddable_host: { host: "test.com", class_name: "test-class", category_id: category.id }
} }

View File

@ -796,6 +796,8 @@ RSpec.describe Admin::UsersController do
expect(u.name).to eq("Bill") expect(u.name).to eq("Bill")
expect(u.username).to eq("bill22") expect(u.username).to eq("bill22")
expect(u.admin).to eq(true) expect(u.admin).to eq(true)
expect(u.active).to eq(true)
expect(u.approved).to eq(true)
end end
it "doesn't send the email with send_email falsey" do it "doesn't send the email with send_email falsey" do