spec/mastalk_spec.rb in mastalk-0.3.2 vs spec/mastalk_spec.rb in mastalk-0.3.3
- old
+ new
@@ -139,6 +139,14 @@
it 'pre-processes correctly' do
expect(subject.to_html).to eq(expected)
end
end
+
+ context 'bright video' do
+ let(:source) { "(@123@)" }
+
+ it 'pre-processes correctly' do
+ expect(subject.to_html).to match(/videoId\=123/)
+ end
+ end
end