test/test_helper.rb in xeroizer-0.4.1 vs test/test_helper.rb in xeroizer-0.4.2
- old
+ new
@@ -56,10 +56,10 @@
@client.stubs(:http_get).with { | client, url, params | url =~ /Reports\/#{report_type}$/ }.returns(get_report_xml(report_type))
end
end
-Shoulda::ClassMethods.class_eval do
+Shoulda::Context::ClassMethods.class_eval do
%w{it must can}.each do |m|
alias_method m, :should
end
alias_method :must_eventually, :should_eventually