diff --git a/config/locales/en.yml b/config/locales/en.yml index c13bb58..e65b6f6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -7,31 +7,31 @@ en: settings: global: announcement: Announcement - src: Content source - src_help: 'Insert the path for the source content that will be displayed - in the Iframe.' - width: Content width - width_help: 'Ensure to use 100% as width to fill the screen.' - height: Content height - height_help: 'Height of the Iframe element.' frameborder: Content frameborder - frameborder_help: 'Set to value "1" for a border around the element, - set value "0" for no border.' + frameborder_help: Set to value "1" for a border around the element, set + value "0" for no border. + height: Content height + height_help: Height of the Iframe element. no_margins: No margins between the iframe and the rest of the page - viewport_width: Limit maximum width to the application viewport resize_iframe: Resize Iframe resize_iframe_options: - responsive: Resize automatically manual: Resize manually + responsive: Resize automatically + src: Content source + src_help: Insert the path for the source content that will be displayed + in the Iframe. + viewport_width: Limit maximum width to the application viewport + width: Content width + width_help: Ensure to use 100% as width to fill the screen. step: announcement: Announcement + frameborder: Content frameborder + frameborder_help: Set to value "1" for a border around the element, set + value "0" for no border. + height: Content height + height_help: Height of the Iframe element. src: Content source - src_help: 'Insert the path for the source content that will be displayed - in the Iframe.' + src_help: Insert the path for the source content that will be displayed + in the Iframe. width: Content width - width_help: 'Ensure to use 100% as width to fill the screen.' - height: Content height - height_help: 'Height of the Iframe element.' - frameborder: Content frameborder - frameborder_help: 'Set to value "1" for a border around the element, - set value "0" for no border.' + width_help: Ensure to use 100% as width to fill the screen. diff --git a/spec/models/iframe_config_spec.rb b/spec/models/iframe_config_spec.rb deleted file mode 100644 index 978dbd8..0000000 --- a/spec/models/iframe_config_spec.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -require "spec_helper" - -module Decidim::Iframe - describe IframeConfig do - subject { iframe_config } - - let(:organization) { create(:organization) } - let(:iframe_config) { create(:iframe_config, organization: organization) } - - it { is_expected.to be_valid } - - it "iframe_config is associated with organization" do - expect(subject).to eq(iframe_config) - expect(subject.organization).to eq(organization) - end - end -end