File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
spec/services/cms/dynamic_components Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11require "rails_helper"
22
33RSpec . describe Cms ::DynamicComponents ::EmbeddedVideo do
4- let ( :video_url ) { "https://static.teachcomputing.org/How_important_is_the_I_Belong_programme.mp4" }
5-
64 before do
75 @video = Cms ::Providers ::Strapi ::Factories ::ComponentFactory . process_component (
8- Cms ::Mocks ::DynamicComponents ::EmbeddedVideo . generate_raw_data ( url : video_url )
6+ Cms ::Mocks ::DynamicComponents ::EmbeddedVideo . generate_raw_data
97 )
108 end
119
Original file line number Diff line number Diff line change 11require "rails_helper"
22
33RSpec . describe Cms ::DynamicComponents ::TwoColumnVideoSection do
4- let ( :video_url ) { "https://static.teachcomputing.org/How_important_is_the_I_Belong_programme.mp4" }
5-
64 before do
75 @section = Cms ::Providers ::Strapi ::Factories ::ComponentFactory . process_component (
86 Cms ::Mocks ::DynamicComponents ::TwoColumnVideoSection . generate_raw_data (
9- video : Cms ::Mocks ::DynamicComponents ::EmbeddedVideo . generate_raw_data ( url : video_url )
7+ video : Cms ::Mocks ::DynamicComponents ::EmbeddedVideo . generate_raw_data
108 )
119 )
1210 end
You can’t perform that action at this time.
0 commit comments