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

@ -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