test/as_test.rb in representable-3.0.3 vs test/as_test.rb in representable-3.0.4

- old
+ new

@@ -5,11 +5,11 @@ :hash => [Representable::Hash, {"title" => "Wie Es Geht"}, {"title" => "Revolution"}], # :xml => [Representable::XML, "<open_struct>\n <song>\n <name>Alive</name>\n </song>\n</open_struct>", "<open_struct><song><name>You've Taken Everything</name></song>/open_struct>"], # :yaml => [Representable::YAML, "---\nsong:\n name: Alive\n", "---\nsong:\n name: You've Taken Everything\n"], ) do |format, mod, input, output| - let (:song) { representer.prepare(Song.new("Revolution")) } - let (:format) { format } + let(:song) { representer.prepare(Song.new("Revolution")) } + let(:format) { format } describe "as: with :symbol" do representer!(:module => mod) do property :name, :as => :title