Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adds missing initialize method which was causing tests to fail across…

… several rubies
  • Loading branch information...
commit 0cd706a5ff1c26d5b2194f9758bd3350f9cfaa86 1 parent 2a1845c
@jeremytregunna authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/string_spec.rb
View
5 spec/string_spec.rb
@@ -7,6 +7,11 @@
def example_class
@example_class ||= Class.new do
attr_accessor :name, :description
+
+ def initialize(options = {})
+ @name = options['name']
+ @description = options['description']
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.