lib/meducation_sdk/mocker.rb in meducation_sdk-0.3.4 vs lib/meducation_sdk/mocker.rb in meducation_sdk-0.4.0
- old
+ new
@@ -40,17 +40,17 @@
MeducationSDK.send(:remove_const, original_klass)
end
private
def resource_klass
- @resource_name.classify
+ @resource_name.camelize
end
def mock_klass
- "#{@resource_name}_mock".classify
+ "#{@resource_name}_mock".camelize
end
def original_klass
- "#{@resource_name}_original".classify
+ "#{@resource_name}_original".camelize
end
end
end