mod/05_standard/spec/set/self/head_spec.rb in card-1.16.6 vs mod/05_standard/spec/set/self/head_spec.rb in card-1.16.7
- old
+ new
@@ -1,9 +1,9 @@
# -*- encoding : utf-8 -*-
describe Card::Set::Self::Head do
it "should have a javascript tag" do
- assert_view_select render_card(:raw, :name=>'*head'), 'script[type="text/javascript"]'
+ assert_view_select render_card(:raw, name: '*head'), 'script[type="text/javascript"]'
end
context 'tinyMCE config' do
before do
@tinyMCE = Card[:tiny_mce]