- attempt to go with notation in test_helper that is compatible with pre 1.9 versions of Ruby

- add 1.8.7 to the Travis test setup
This commit is contained in:
Mark VanderVoord
2014-12-18 15:31:44 -05:00
parent d4a0132117
commit e1cd4135b4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
install:
+1 -1
View File
@@ -16,7 +16,7 @@ end
def create_stub(funcs)
stub = Class.new
funcs.each_pair do |k,v|
stub.define_singleton_method(k) {|unused=nil| return v }
stub.define_singleton_method(k) {|*unused| return v }
end
stub
end