mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 00:00:46 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -46,7 +46,7 @@ RSpec.describe Admin::BackupsController do
|
||||
expect(response.status).to eq(403)
|
||||
end
|
||||
|
||||
context "html format" do
|
||||
context "with html format" do
|
||||
it "preloads important data" do
|
||||
get "/admin/backups.html"
|
||||
expect(response.status).to eq(200)
|
||||
@ -57,7 +57,7 @@ RSpec.describe Admin::BackupsController do
|
||||
end
|
||||
end
|
||||
|
||||
context "json format" do
|
||||
context "with json format" do
|
||||
it "returns a list of all the backups" do
|
||||
begin
|
||||
create_backup_files(backup_filename, backup_filename2)
|
||||
|
Reference in New Issue
Block a user