Remove whitespace and revert unintended change
This commit is contained in:
parent
84a3459af6
commit
e0db323efb
|
@ -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 }
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue