mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe Onebox::Engine::TrelloOnebox do
|
||||
context "Boards" do
|
||||
describe "Boards" do
|
||||
it "should onebox with SEF url corrrectly" do
|
||||
expect(Onebox.preview('https://trello.com/b/nC8QJJoZ/trello-development-roadmap').to_s).to match('iframe src="https://trello.com/b/nC8QJJoZ.html"')
|
||||
end
|
||||
@ -14,7 +14,7 @@ RSpec.describe Onebox::Engine::TrelloOnebox do
|
||||
end
|
||||
end
|
||||
|
||||
context "Cards" do
|
||||
describe "Cards" do
|
||||
it "should onebox with SEF url corrrectly" do
|
||||
expect(Onebox.preview('https://trello.com/c/NIRpzVDM/1211-what-can-you-expect-from-this-board').to_s).to match('iframe src="https://trello.com/c/NIRpzVDM.html"')
|
||||
end
|
||||
|
Reference in New Issue
Block a user