lib/test_case.rb in smashing_docs-0.1.0 vs lib/test_case.rb in smashing_docs-1.0.0

- old
+ new

@@ -1,12 +1,12 @@ require 'erb' class SmashingDocs::TestCase - attr_reader :request, :response, :created_at, :information, :aside + attr_reader :request, :response, :created_at, :information attr_accessor :template - def initialize(request, response, information = {}, aside = '') - @request, @response, @information, @aside = request, response, information, aside + def initialize(request, response, information = {}) + @request, @response, @information = request, response, information @created_at = Time.now end def compile_template ERB.new(template).result binding