spec/lib/content_page_spec.rb in mango-0.6.3 vs spec/lib/content_page_spec.rb in mango-0.7.0

- old
+ new

@@ -1,6 +1,5 @@ -# encoding: UTF-8 require "spec_helper" describe Mango::ContentPage do describe "constants" do it "defines TEMPLATE_ENGINES" do @@ -28,10 +27,10 @@ --- title: Syntactic Sugar Makes Life Sweeter view: template.haml --- EOS - @page = Mango::ContentPage.new(:data => data) + @page = Mango::ContentPage.new(data: data) end it "sweetens the title attribute" do @page.title.should == @page.attributes["title"] end