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

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user