Permalink
Browse files

class_variable_set private in Ruby 1.8, fixing calendar specs that us…

…e it
  • Loading branch information...
1 parent b82605a commit dbf4535c3be583b6c81af056c97642f89ff674a5 Cameron Dutro committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/shared/calendar_spec.rb
@@ -13,7 +13,7 @@
before(:each) do
# clear cache for each test
- Calendar.class_variable_set(:@@calendar_cache, {})
+ Calendar.send(:class_variable_set, :@@calendar_cache, {})
end
describe '#initialize' do

0 comments on commit dbf4535

Please sign in to comment.