DEV: Use proper wording for contexts in specs

This commit is contained in:
Loïc Guitaut
2022-07-27 18:14:14 +02:00
committed by Loïc Guitaut
parent 02987e05d5
commit 3eaac56797
337 changed files with 2172 additions and 2723 deletions

View File

@ -9,7 +9,7 @@ RSpec.describe Onebox::Engine::GithubCommitOnebox do
stub_request(:get, @uri).to_return(status: 200, body: onebox_response("githubcommit"))
end
include_context "engines"
include_context "with engines"
it_behaves_like "an engine"
describe "#to_html" do
@ -64,7 +64,7 @@ RSpec.describe Onebox::Engine::GithubCommitOnebox do
.to_return(status: 200, body: onebox_response("githubcommit"))
end
include_context "engines"
include_context "with engines"
# TODO: fix test to make sure it's not failing when matching object
# it_behaves_like "an engine"